From 273581a38a6e025fac12b6f77d8338f8efc032cc Mon Sep 17 00:00:00 2001 From: Keegan Caruso Date: Tue, 12 Nov 2024 11:16:51 -0800 Subject: [PATCH 1/2] Dont modify the merged options when building the confidential client --- .../MergedOptions.cs | 16 ++++++++++++---- .../PublicAPI/net462/InternalAPI.Unshipped.txt | 3 +++ .../PublicAPI/net472/InternalAPI.Unshipped.txt | 3 +++ .../PublicAPI/net6.0/InternalAPI.Unshipped.txt | 3 +++ .../PublicAPI/net7.0/InternalAPI.Unshipped.txt | 3 +++ .../PublicAPI/net8.0/InternalAPI.Unshipped.txt | 3 +++ .../PublicAPI/net9.0/InternalAPI.Unshipped.txt | 3 +++ .../netstandard2.0/InternalAPI.Unshipped.txt | 3 +++ .../TokenAcquisition.cs | 9 +++++---- 9 files changed, 38 insertions(+), 8 deletions(-) diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/MergedOptions.cs b/src/Microsoft.Identity.Web.TokenAcquisition/MergedOptions.cs index 8f15d5285..6480ae700 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/MergedOptions.cs +++ b/src/Microsoft.Identity.Web.TokenAcquisition/MergedOptions.cs @@ -5,9 +5,11 @@ using System.Collections.Generic; using System.Linq; using Microsoft.Identity.Abstractions; -#if !NETSTANDARD2_0 && !NET462 && !NET472 + +#if !NETSTANDARD2_0 && !NETFRAMEWORK using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.IdentityModel.Protocols.OpenIdConnect; +using Microsoft.AspNetCore.Authentication.OpenIdConnect; #endif using Microsoft.Identity.Client; @@ -53,6 +55,12 @@ public ConfidentialClientApplicationOptions ConfidentialClientApplicationOptions // This is for supporting for CIAM authorities including custom url domains, see https://github.com/AzureAD/microsoft-identity-web/issues/2690 internal bool PreserveAuthority { get; set; } + /// + /// Id Web will modify the instance so that it can be used by MSAL. + /// This modifies this property so that the original value is not changed. + /// + internal string? PreparedInstance { get; set; } + internal static void UpdateMergedOptionsFromMicrosoftIdentityOptions(MicrosoftIdentityOptions microsoftIdentityOptions, MergedOptions mergedOptions) { @@ -466,14 +474,14 @@ public void PrepareAuthorityInstanceForMsal() if (IsB2C && Instance.EndsWith("/tfp/", StringComparison.OrdinalIgnoreCase)) { #if !NETSTANDARD2_0 && !NET462 && !NET472 - Instance = Instance.Replace("/tfp/", string.Empty, StringComparison.OrdinalIgnoreCase).TrimEnd('/') + "/"; + PreparedInstance = Instance.Replace("/tfp/", string.Empty, StringComparison.OrdinalIgnoreCase).TrimEnd('/') + "/"; #else - Instance = Instance.Replace("/tfp/", string.Empty).TrimEnd('/') + "/"; + PreparedInstance = Instance.Replace("/tfp/", string.Empty).TrimEnd('/') + "/"; #endif } else { - Instance = Instance.TrimEnd('/') + "/"; + PreparedInstance = Instance.TrimEnd('/') + "/"; } } diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/InternalAPI.Unshipped.txt index a005e0f08..e39de2a70 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/InternalAPI.Unshipped.txt @@ -1,6 +1,9 @@ #nullable enable Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void +Microsoft.Identity.Web.MergedOptions.MergedOptions(Microsoft.Identity.Web.MergedOptions! other) -> void +Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? +Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForApp(Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions) -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForTestUser(Microsoft.Identity.Client.AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions, System.Security.Claims.ClaimsPrincipal! user) -> void readonly Microsoft.Identity.Web.TokenAcquisition.tokenAcquisitionExtensionOptionsMonitor -> Microsoft.Extensions.Options.IOptionsMonitor? diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/InternalAPI.Unshipped.txt index a005e0f08..e39de2a70 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/InternalAPI.Unshipped.txt @@ -1,6 +1,9 @@ #nullable enable Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void +Microsoft.Identity.Web.MergedOptions.MergedOptions(Microsoft.Identity.Web.MergedOptions! other) -> void +Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? +Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForApp(Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions) -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForTestUser(Microsoft.Identity.Client.AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions, System.Security.Claims.ClaimsPrincipal! user) -> void readonly Microsoft.Identity.Web.TokenAcquisition.tokenAcquisitionExtensionOptionsMonitor -> Microsoft.Extensions.Options.IOptionsMonitor? diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/InternalAPI.Unshipped.txt index a005e0f08..e39de2a70 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/InternalAPI.Unshipped.txt @@ -1,6 +1,9 @@ #nullable enable Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void +Microsoft.Identity.Web.MergedOptions.MergedOptions(Microsoft.Identity.Web.MergedOptions! other) -> void +Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? +Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForApp(Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions) -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForTestUser(Microsoft.Identity.Client.AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions, System.Security.Claims.ClaimsPrincipal! user) -> void readonly Microsoft.Identity.Web.TokenAcquisition.tokenAcquisitionExtensionOptionsMonitor -> Microsoft.Extensions.Options.IOptionsMonitor? diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/InternalAPI.Unshipped.txt index a005e0f08..e39de2a70 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/InternalAPI.Unshipped.txt @@ -1,6 +1,9 @@ #nullable enable Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void +Microsoft.Identity.Web.MergedOptions.MergedOptions(Microsoft.Identity.Web.MergedOptions! other) -> void +Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? +Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForApp(Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions) -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForTestUser(Microsoft.Identity.Client.AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions, System.Security.Claims.ClaimsPrincipal! user) -> void readonly Microsoft.Identity.Web.TokenAcquisition.tokenAcquisitionExtensionOptionsMonitor -> Microsoft.Extensions.Options.IOptionsMonitor? diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/InternalAPI.Unshipped.txt index a005e0f08..e39de2a70 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/InternalAPI.Unshipped.txt @@ -1,6 +1,9 @@ #nullable enable Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void +Microsoft.Identity.Web.MergedOptions.MergedOptions(Microsoft.Identity.Web.MergedOptions! other) -> void +Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? +Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForApp(Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions) -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForTestUser(Microsoft.Identity.Client.AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions, System.Security.Claims.ClaimsPrincipal! user) -> void readonly Microsoft.Identity.Web.TokenAcquisition.tokenAcquisitionExtensionOptionsMonitor -> Microsoft.Extensions.Options.IOptionsMonitor? diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/InternalAPI.Unshipped.txt index a005e0f08..e39de2a70 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/InternalAPI.Unshipped.txt @@ -1,6 +1,9 @@ #nullable enable Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void +Microsoft.Identity.Web.MergedOptions.MergedOptions(Microsoft.Identity.Web.MergedOptions! other) -> void +Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? +Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForApp(Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions) -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForTestUser(Microsoft.Identity.Client.AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions, System.Security.Claims.ClaimsPrincipal! user) -> void readonly Microsoft.Identity.Web.TokenAcquisition.tokenAcquisitionExtensionOptionsMonitor -> Microsoft.Extensions.Options.IOptionsMonitor? diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/InternalAPI.Unshipped.txt index a005e0f08..e39de2a70 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/InternalAPI.Unshipped.txt @@ -1,6 +1,9 @@ #nullable enable Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void +Microsoft.Identity.Web.MergedOptions.MergedOptions(Microsoft.Identity.Web.MergedOptions! other) -> void +Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? +Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForApp(Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions) -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForTestUser(Microsoft.Identity.Client.AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions, System.Security.Claims.ClaimsPrincipal! user) -> void readonly Microsoft.Identity.Web.TokenAcquisition.tokenAcquisitionExtensionOptionsMonitor -> Microsoft.Extensions.Options.IOptionsMonitor? diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/TokenAcquisition.cs b/src/Microsoft.Identity.Web.TokenAcquisition/TokenAcquisition.cs index 458aa1612..f5394e4f1 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/TokenAcquisition.cs +++ b/src/Microsoft.Identity.Web.TokenAcquisition/TokenAcquisition.cs @@ -157,7 +157,7 @@ public async Task AddAccountToCacheFromAuthorizationCodeAsyn if (mergedOptions.IsB2C) { - var authority = $"{mergedOptions.Instance}{ClaimConstants.Tfp}/{mergedOptions.Domain}/{authCodeRedemptionParameters.UserFlow ?? mergedOptions.DefaultUserFlow}"; + var authority = $"{mergedOptions.PreparedInstance}{ClaimConstants.Tfp}/{mergedOptions.Domain}/{authCodeRedemptionParameters.UserFlow ?? mergedOptions.DefaultUserFlow}"; builder.WithB2CAuthority(authority); } @@ -754,7 +754,6 @@ private bool IsInvalidClientCertificateOrSignedAssertionError(MsalServiceExcepti /// private async Task BuildConfidentialClientApplicationAsync(MergedOptions mergedOptions) { - string? currentUri = _tokenAcquisitionHost.GetCurrentRedirectUri(mergedOptions); mergedOptions.PrepareAuthorityInstanceForMsal(); try @@ -773,6 +772,8 @@ private async Task BuildConfidentialClientApplic builder.WithCacheOptions(CacheOptions.EnableSharedCacheOptions); } + string? currentUri = _tokenAcquisitionHost.GetCurrentRedirectUri(mergedOptions); + // The redirect URI is not needed for OBO if (!string.IsNullOrEmpty(currentUri)) { @@ -788,12 +789,12 @@ private async Task BuildConfidentialClientApplic } else if (mergedOptions.IsB2C) { - authority = $"{mergedOptions.Instance}{ClaimConstants.Tfp}/{mergedOptions.Domain}/{mergedOptions.DefaultUserFlow}"; + authority = $"{mergedOptions.PreparedInstance}{ClaimConstants.Tfp}/{mergedOptions.Domain}/{mergedOptions.DefaultUserFlow}"; builder.WithB2CAuthority(authority); } else { - authority = $"{mergedOptions.Instance}{mergedOptions.TenantId}/"; + authority = $"{mergedOptions.PreparedInstance}{mergedOptions.TenantId}/"; builder.WithAuthority(authority); } From 5772b11ace1840875925e3f3d16f7db2afa0ac04 Mon Sep 17 00:00:00 2001 From: Keegan Caruso Date: Tue, 3 Dec 2024 19:29:22 -0800 Subject: [PATCH 2/2] Fix API files --- src/Microsoft.Identity.Web.TokenAcquisition/MergedOptions.cs | 3 +-- .../PublicAPI/net462/InternalAPI.Unshipped.txt | 1 - .../PublicAPI/net472/InternalAPI.Unshipped.txt | 1 - .../PublicAPI/net6.0/InternalAPI.Unshipped.txt | 1 - .../PublicAPI/net7.0/InternalAPI.Unshipped.txt | 1 - .../PublicAPI/net8.0/InternalAPI.Unshipped.txt | 1 - .../PublicAPI/net9.0/InternalAPI.Unshipped.txt | 1 - .../PublicAPI/netstandard2.0/InternalAPI.Unshipped.txt | 1 - 8 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/MergedOptions.cs b/src/Microsoft.Identity.Web.TokenAcquisition/MergedOptions.cs index 6480ae700..57f7d5a36 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/MergedOptions.cs +++ b/src/Microsoft.Identity.Web.TokenAcquisition/MergedOptions.cs @@ -6,10 +6,9 @@ using System.Linq; using Microsoft.Identity.Abstractions; -#if !NETSTANDARD2_0 && !NETFRAMEWORK +#if !NETSTANDARD2_0 && !NET462 && !NET472 using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.IdentityModel.Protocols.OpenIdConnect; -using Microsoft.AspNetCore.Authentication.OpenIdConnect; #endif using Microsoft.Identity.Client; diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/InternalAPI.Unshipped.txt index e39de2a70..9ee6a81d4 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/InternalAPI.Unshipped.txt @@ -1,7 +1,6 @@ #nullable enable Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void -Microsoft.Identity.Web.MergedOptions.MergedOptions(Microsoft.Identity.Web.MergedOptions! other) -> void Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForApp(Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions) -> void diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/InternalAPI.Unshipped.txt index e39de2a70..9ee6a81d4 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/InternalAPI.Unshipped.txt @@ -1,7 +1,6 @@ #nullable enable Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void -Microsoft.Identity.Web.MergedOptions.MergedOptions(Microsoft.Identity.Web.MergedOptions! other) -> void Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForApp(Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions) -> void diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/InternalAPI.Unshipped.txt index e39de2a70..9ee6a81d4 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/InternalAPI.Unshipped.txt @@ -1,7 +1,6 @@ #nullable enable Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void -Microsoft.Identity.Web.MergedOptions.MergedOptions(Microsoft.Identity.Web.MergedOptions! other) -> void Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForApp(Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions) -> void diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/InternalAPI.Unshipped.txt index e39de2a70..9ee6a81d4 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/InternalAPI.Unshipped.txt @@ -1,7 +1,6 @@ #nullable enable Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void -Microsoft.Identity.Web.MergedOptions.MergedOptions(Microsoft.Identity.Web.MergedOptions! other) -> void Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForApp(Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions) -> void diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/InternalAPI.Unshipped.txt index e39de2a70..9ee6a81d4 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/InternalAPI.Unshipped.txt @@ -1,7 +1,6 @@ #nullable enable Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void -Microsoft.Identity.Web.MergedOptions.MergedOptions(Microsoft.Identity.Web.MergedOptions! other) -> void Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForApp(Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions) -> void diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/InternalAPI.Unshipped.txt index e39de2a70..9ee6a81d4 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/InternalAPI.Unshipped.txt @@ -1,7 +1,6 @@ #nullable enable Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void -Microsoft.Identity.Web.MergedOptions.MergedOptions(Microsoft.Identity.Web.MergedOptions! other) -> void Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForApp(Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions) -> void diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/InternalAPI.Unshipped.txt index e39de2a70..9ee6a81d4 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/InternalAPI.Unshipped.txt @@ -1,7 +1,6 @@ #nullable enable Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void -Microsoft.Identity.Web.MergedOptions.MergedOptions(Microsoft.Identity.Web.MergedOptions! other) -> void Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.InvokeOnBeforeTokenAcquisitionForApp(Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder! builder, Microsoft.Identity.Abstractions.AcquireTokenOptions? acquireTokenOptions) -> void