diff --git a/Directory.Build.props b/Directory.Build.props index 3fc2d18d0..7ae025b50 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -86,7 +86,7 @@ - 8.3.1 + 8.4.0 4.67.2 3.3.0 4.7.2 @@ -96,7 +96,7 @@ 4.36.0 4.57.0-preview 3.1.3 - 8.1.0 + 8.1.1 8.0.5 diff --git a/Microsoft.Identity.Web.sln b/Microsoft.Identity.Web.sln index 90eb6ff9d..a86b47f71 100644 --- a/Microsoft.Identity.Web.sln +++ b/Microsoft.Identity.Web.sln @@ -160,6 +160,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Identity.Web.UI", EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Identity.Web.AotCompatibility.TestApp", "tests\Microsoft.Identity.Web.AotCompatibility.TestApp\Microsoft.Identity.Web.AotCompatibility.TestApp.csproj", "{BCE63265-6D36-423A-9C3D-BF8E448C7EA0}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomSignedAssertionProviderTests", "tests\E2E Tests\CustomSignedAssertionProviderTests\CustomSignedAssertionProviderTests.csproj", "{A390650C-BCE1-4CB3-8C97-9EF9CFF5B7C5}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -370,6 +372,10 @@ Global {BCE63265-6D36-423A-9C3D-BF8E448C7EA0}.Debug|Any CPU.Build.0 = Debug|Any CPU {BCE63265-6D36-423A-9C3D-BF8E448C7EA0}.Release|Any CPU.ActiveCfg = Release|Any CPU {BCE63265-6D36-423A-9C3D-BF8E448C7EA0}.Release|Any CPU.Build.0 = Release|Any CPU + {A390650C-BCE1-4CB3-8C97-9EF9CFF5B7C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A390650C-BCE1-4CB3-8C97-9EF9CFF5B7C5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A390650C-BCE1-4CB3-8C97-9EF9CFF5B7C5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A390650C-BCE1-4CB3-8C97-9EF9CFF5B7C5}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -442,6 +448,7 @@ Global {4A63EA63-5679-4498-BB4C-30E09F268E00} = {E37CDBC1-18F6-4C06-A3EE-532C9106721F} {C6CB0D5B-917A-4127-9984-7592C757BBDE} = {1DDE1AAC-5AE6-4725-94B6-A26C58D3423F} {BCE63265-6D36-423A-9C3D-BF8E448C7EA0} = {B4E72F1C-603F-437C-AAA1-153A604CD34A} + {A390650C-BCE1-4CB3-8C97-9EF9CFF5B7C5} = {45B20A78-91F8-4DD2-B9AD-F12D3A93536C} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {104367F1-CE75-4F40-B32F-F14853973187} diff --git a/benchmark/Benchmarks.csproj b/benchmark/Benchmarks.csproj index 3386428ec..90ca6c48b 100644 --- a/benchmark/Benchmarks.csproj +++ b/benchmark/Benchmarks.csproj @@ -1,4 +1,4 @@ - + Exe diff --git a/benchmark/Directory.Build.props b/benchmark/Directory.Build.props index 834636843..2966aa1d9 100644 --- a/benchmark/Directory.Build.props +++ b/benchmark/Directory.Build.props @@ -3,10 +3,11 @@ false net8.0 - True false false - ../build/MSAL.snk + True + True + $(MSBuildThisFileDirectory)..\build\msal.snk enable enable diff --git a/changelog.md b/changelog.md index e677c6b74..c90aed1fb 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,14 @@ +3.7.0 +======== +- Updated to Microsoft.Identity.Abstractions [8.1.0](https://github.com/AzureAD/microsoft-identity-abstractions-for-dotnet/releases/tag/8.1.0) +- Updated to Microsoft.IdentityModel.* [8.4.0](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases/tag/8.4.0) + +### New Feature +- IdentityWeb now provides extensibility to `DefaultCredentialsLoader` so that partner teams, or an SDK on top of IdWeb, can bring their own credential providers. See [#3220](https://github.com/AzureAD/microsoft-identity-web/issues/3220) for details. + +## Bug fixes +- The merged options are now being passed to MSAL for the CCA ROPC scenario. See [#3207](https://github.com/AzureAD/microsoft-identity-web/issues/3207) for details. + 3.6.2 ======== - Updated to Microsoft.Identity.Abstractions [8.0.0](https://github.com/AzureAD/microsoft-identity-abstractions-for-dotnet/releases/tag/8.0.0) diff --git a/src/Microsoft.Identity.Web.Certificate/CertificateErrorMessage.cs b/src/Microsoft.Identity.Web.Certificate/CertificateErrorMessage.cs index 6e17ff181..f2e370029 100644 --- a/src/Microsoft.Identity.Web.Certificate/CertificateErrorMessage.cs +++ b/src/Microsoft.Identity.Web.Certificate/CertificateErrorMessage.cs @@ -10,12 +10,17 @@ internal static class CertificateErrorMessage { // Configuration IDW10100 = "IDW10100:" public const string ClientSecretAndCertificateNull = - "IDW10104: Both client secret and client certificate cannot be null or whitespace, " + - "and only ONE must be included in the configuration of the web app when calling a web API. " + - "For instance, in the appsettings.json file. "; - public const string BothClientSecretAndCertificateProvided = "IDW10105: Both client secret and client certificate, " + - "cannot be included in the configuration of the web app when calling a web API. "; + "IDW10104: Both client secret and client certificate cannot be null or whitespace, " + + "and only ONE must be included in the configuration of the web app when calling a web API. " + + "For instance, in the appsettings.json file. "; + public const string BothClientSecretAndCertificateProvided = + "IDW10105: Both client secret and client certificate, cannot be included in the configuration of the web app when calling a web API. "; public const string ClientCertificatesHaveExpiredOrCannotBeLoaded = "IDW10109: All client certificates passed to the configuration have expired or can't be loaded. "; + public const string CustomProviderNameAlreadyExists = + "IDW10111 The custom signed assertion provider '{0}' already exists, only the the first instance of ICustomSignedAssertionProvider with this name will be used."; + public const string CustomProviderNameNullOrEmpty = "IDW10112 The name of the custom signed assertion provider is null or empty."; + public const string CustomProviderNotFound = "IDW10113: The custom signed assertion provider with name '{0}' was not found. Was it registered in the service collection?"; + public const string CustomProviderSourceLoaderNullOrEmpty = "IDW10114 The dictionary of SourceLoaders for custom signed assertion providers is null or empty."; // Encoding IDW10600 = "IDW10600:" public const string InvalidBase64UrlString = "IDW10601: Invalid Base64URL string. "; diff --git a/src/Microsoft.Identity.Web.Certificate/DefaultCertificateLoader.cs b/src/Microsoft.Identity.Web.Certificate/DefaultCertificateLoader.cs index 4d5c2a527..46527fd2a 100644 --- a/src/Microsoft.Identity.Web.Certificate/DefaultCertificateLoader.cs +++ b/src/Microsoft.Identity.Web.Certificate/DefaultCertificateLoader.cs @@ -43,6 +43,15 @@ public DefaultCertificateLoader() : this(null) { } + /// + /// Constructor with custom signed assertion providers. + /// + /// List of providers of custom signed assertions + /// ILogger. + public DefaultCertificateLoader(IEnumerable customSignedAssertionProviders, ILogger? logger) : base(customSignedAssertionProviders, logger) + { + } + /// /// This default is overridable at the level of the credential description (for the certificate from KeyVault). /// diff --git a/src/Microsoft.Identity.Web.Certificate/DefaultCredentialsLoader.CustomSignedAssertion.cs b/src/Microsoft.Identity.Web.Certificate/DefaultCredentialsLoader.CustomSignedAssertion.cs new file mode 100644 index 000000000..2d9a22fd9 --- /dev/null +++ b/src/Microsoft.Identity.Web.Certificate/DefaultCredentialsLoader.CustomSignedAssertion.cs @@ -0,0 +1,79 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Threading.Tasks; +using Microsoft.Extensions.Logging; +using Microsoft.Identity.Abstractions; + +namespace Microsoft.Identity.Web +{ + public partial class DefaultCredentialsLoader + { + /// + /// Constructor for DefaultCredentialsLoader when using custom signed assertion provider source loaders. + /// + /// Set of custom signed assertion providers. + /// ILogger. + public DefaultCredentialsLoader(IEnumerable customSignedAssertionProviders, ILogger? logger) : this(logger) + { + _ = Throws.IfNull(customSignedAssertionProviders); + var sourceLoaderDict = new Dictionary(); + + foreach (ICustomSignedAssertionProvider provider in customSignedAssertionProviders) + { + string providerName = provider.Name ?? provider.GetType().FullName!; + if (sourceLoaderDict.ContainsKey(providerName)) + { + _logger.LogWarning(CertificateErrorMessage.CustomProviderNameAlreadyExists, providerName); + } + else + { + sourceLoaderDict.Add(providerName, provider); + } + } + CustomSignedAssertionCredentialSourceLoaders = sourceLoaderDict; + } + + /// + /// Dictionary of custom signed assertion credential source loaders, by name (either ICustomSignedAssertionProvider.Name or the fully qualified type name). + /// The application can add more to process additional credential sources. + /// + protected IDictionary? CustomSignedAssertionCredentialSourceLoaders { get; } + + private async Task ProcessCustomSignedAssertionAsync(CredentialDescription credentialDescription, CredentialSourceLoaderParameters? parameters) + { + if (CustomSignedAssertionCredentialSourceLoaders == null || CustomSignedAssertionCredentialSourceLoaders.Count == 0) + { + // No source loader(s) + _logger.LogError(CertificateErrorMessage.CustomProviderSourceLoaderNullOrEmpty); + } + else if (string.IsNullOrEmpty(credentialDescription.CustomSignedAssertionProviderName)) + { + // No provider name + _logger.LogError(CertificateErrorMessage.CustomProviderNameNullOrEmpty); + } + else if (!CustomSignedAssertionCredentialSourceLoaders!.TryGetValue(credentialDescription.CustomSignedAssertionProviderName!, out ICustomSignedAssertionProvider? sourceLoader)) + { + // No source loader for provider name + _logger.LogError(CertificateErrorMessage.CustomProviderNotFound, credentialDescription.CustomSignedAssertionProviderName); + } + else + { + // Load the credentials, if there is an error, it is coming from the user's custom extension and should be logged and propagated. + try + { + await sourceLoader.LoadIfNeededAsync(credentialDescription, parameters); + } + catch (Exception ex) + { + Logger.CustomSignedAssertionProviderLoadingFailure(_logger, credentialDescription, ex); + throw; + } + return; + } + } + } +} diff --git a/src/Microsoft.Identity.Web.Certificate/DefaultCredentialsLoader.Logger.cs b/src/Microsoft.Identity.Web.Certificate/DefaultCredentialsLoader.Logger.cs index aa6686779..79aeca0c0 100644 --- a/src/Microsoft.Identity.Web.Certificate/DefaultCredentialsLoader.Logger.cs +++ b/src/Microsoft.Identity.Web.Certificate/DefaultCredentialsLoader.Logger.cs @@ -10,6 +10,12 @@ namespace Microsoft.Identity.Web // Log messages for DefaultCredentialsLoader public partial class DefaultCredentialsLoader { + internal const string nameMissing = "NameMissing"; + internal static string CustomSignedAssertionProviderLoadingFailureMessage(string providerName, string sourceType, string skip) + { + return $"Failed to find custom signed assertion provider {providerName} from source {sourceType}. Will it be skipped in the future ? {skip}."; + } + /// /// Logging infrastructure /// @@ -18,13 +24,25 @@ private static class Logger private static readonly Action s_credentialLoadingFailure = LoggerMessage.Define( LogLevel.Information, - new EventId( - 7, - nameof(CredentialLoadingFailure)), - "Failed to load credential {id} from source {sourceType}. Will it be skipped in the future ? {skip}."); + new EventId(7, nameof(CredentialLoadingFailure)), + "Failed to load credential {id} from source {sourceType}. Will it be skipped in the future ? {skip}." + ); public static void CredentialLoadingFailure(ILogger logger, CredentialDescription cd, Exception? ex) => s_credentialLoadingFailure(logger, cd.Id, cd.SourceType.ToString(), cd.Skip, ex); + + private static readonly Action s_customSignedAssertionProviderLoadingFailure = + LoggerMessage.Define( + LogLevel.Information, + new EventId(8, nameof(CustomSignedAssertionProviderLoadingFailure)), + CustomSignedAssertionProviderLoadingFailureMessage("{name}", "{sourceType}", "{skip}") + ); + + public static void CustomSignedAssertionProviderLoadingFailure( + ILogger logger, + CredentialDescription cd, + Exception ex + ) => s_customSignedAssertionProviderLoadingFailure(logger, cd.CustomSignedAssertionProviderName ?? nameMissing, cd.SourceType.ToString(), cd.Skip, ex); } } } diff --git a/src/Microsoft.Identity.Web.Certificate/DefaultCredentialsLoader.cs b/src/Microsoft.Identity.Web.Certificate/DefaultCredentialsLoader.cs index 6f4dea6de..7b6cade30 100644 --- a/src/Microsoft.Identity.Web.Certificate/DefaultCredentialsLoader.cs +++ b/src/Microsoft.Identity.Web.Certificate/DefaultCredentialsLoader.cs @@ -72,7 +72,11 @@ public async Task LoadCredentialsIfNeededAsync(CredentialDescription credentialD { if (credentialDescription.CachedValue == null) { - if (CredentialSourceLoaders.TryGetValue(credentialDescription.SourceType, out ICredentialSourceLoader? loader)) + if (credentialDescription.SourceType == CredentialSource.CustomSignedAssertion) + { + await ProcessCustomSignedAssertionAsync(credentialDescription, parameters); + } + else if (CredentialSourceLoaders.TryGetValue(credentialDescription.SourceType, out ICredentialSourceLoader? loader)) { try { diff --git a/src/Microsoft.Identity.Web.Certificate/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.Certificate/InternalAPI.Shipped.txt index 10c752a5a..4bf46dbc7 100644 --- a/src/Microsoft.Identity.Web.Certificate/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.Certificate/InternalAPI.Shipped.txt @@ -4,11 +4,16 @@ const Microsoft.Identity.Web.CertificateConstants.PersonalUserCertificateStorePa const Microsoft.Identity.Web.CertificateErrorMessage.BothClientSecretAndCertificateProvided = "IDW10105: Both client secret and client certificate, cannot be included in the configuration of the web app when calling a web API. " -> string! const Microsoft.Identity.Web.CertificateErrorMessage.ClientCertificatesHaveExpiredOrCannotBeLoaded = "IDW10109: All client certificates passed to the configuration have expired or can't be loaded. " -> string! const Microsoft.Identity.Web.CertificateErrorMessage.ClientSecretAndCertificateNull = "IDW10104: Both client secret and client certificate cannot be null or whitespace, and only ONE must be included in the configuration of the web app when calling a web API. For instance, in the appsettings.json file. " -> string! +const Microsoft.Identity.Web.CertificateErrorMessage.CustomProviderNameAlreadyExists = "IDW10111 The custom signed assertion provider '{0}' already exists, only the the first instance of ICustomSignedAssertionProvider with this name will be used." -> string! +const Microsoft.Identity.Web.CertificateErrorMessage.CustomProviderNameNullOrEmpty = "IDW10112 The name of the custom signed assertion provider is null or empty." -> string! +const Microsoft.Identity.Web.CertificateErrorMessage.CustomProviderNotFound = "IDW10113: The custom signed assertion provider with name '{0}' was not found. Was it registered in the service collection?" -> string! +const Microsoft.Identity.Web.CertificateErrorMessage.CustomProviderSourceLoaderNullOrEmpty = "IDW10114 The dictionary of SourceLoaders for custom signed assertion providers is null or empty." -> string! const Microsoft.Identity.Web.CertificateErrorMessage.FromStoreWithThumbprintIsObsolete = "IDW10803: Use FromStoreWithThumbprint instead, due to spelling error. " -> string! const Microsoft.Identity.Web.CertificateErrorMessage.IncorrectNumberOfUriSegments = "IDW10702: Number of URI segments is incorrect: {0}, URI: {1}. " -> string! const Microsoft.Identity.Web.CertificateErrorMessage.InvalidBase64UrlString = "IDW10601: Invalid Base64URL string. " -> string! const Microsoft.Identity.Web.CertificateErrorMessage.InvalidCertificateStorePath = "IDW10703: Certificate store path must be of the form 'StoreLocation/StoreName'. StoreLocation must be one of 'CurrentUser', 'LocalMachine'. StoreName must be empty or one of '{0}'. " -> string! const Microsoft.Identity.Web.CertificateErrorMessage.OnlyPkcs12IsSupported = "IDW10701: Only PKCS #12 content type is supported. Found Content-Type: {0}. " -> string! +const Microsoft.Identity.Web.DefaultCredentialsLoader.nameMissing = "NameMissing" -> string! Microsoft.Identity.Web.Base64EncodedCertificateLoader Microsoft.Identity.Web.Base64EncodedCertificateLoader.Base64EncodedCertificateLoader() -> void Microsoft.Identity.Web.Base64EncodedCertificateLoader.CredentialSource.get -> Microsoft.Identity.Abstractions.CredentialSource @@ -21,6 +26,8 @@ Microsoft.Identity.Web.CertificateDescription.ReferenceOrValue.set -> void Microsoft.Identity.Web.CertificateErrorMessage Microsoft.Identity.Web.CertificateLoaderHelper Microsoft.Identity.Web.CertificateLoaderHelper.CertificateLoaderHelper() -> void +Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException +Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.CustomSignedAssertionProviderNotFoundException(string! message) -> void Microsoft.Identity.Web.FromPathCertificateLoader Microsoft.Identity.Web.FromPathCertificateLoader.CredentialSource.get -> Microsoft.Identity.Abstractions.CredentialSource Microsoft.Identity.Web.FromPathCertificateLoader.FromPathCertificateLoader() -> void @@ -51,6 +58,10 @@ static Microsoft.Identity.Web.CertificateLoaderHelper.DetermineX509KeyStorageFla static Microsoft.Identity.Web.CertificateLoaderHelper.DetermineX509KeyStorageFlag(Microsoft.Identity.Abstractions.CredentialDescription! credentialDescription) -> System.Security.Cryptography.X509Certificates.X509KeyStorageFlags static Microsoft.Identity.Web.CertificateLoaderHelper.FindCertificateByCriterium(System.Security.Cryptography.X509Certificates.X509Store! x509Store, System.Security.Cryptography.X509Certificates.X509FindType identifierCriterium, string! certificateIdentifier) -> System.Security.Cryptography.X509Certificates.X509Certificate2? static Microsoft.Identity.Web.CertificateLoaderHelper.ParseStoreLocationAndName(string! storeDescription, ref System.Security.Cryptography.X509Certificates.StoreLocation certificateStoreLocation, ref System.Security.Cryptography.X509Certificates.StoreName certificateStoreName) -> void +static Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.ProviderNameNotFound(string! name) -> Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException! +static Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.ProviderNameNullOrEmpty() -> Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException! +static Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.SourceLoadersNullOrEmpty() -> Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException! +static Microsoft.Identity.Web.DefaultCredentialsLoader.CustomSignedAssertionProviderLoadingFailureMessage(string! providerName, string! sourceType, string! skip) -> string! static Microsoft.Identity.Web.KeyVaultCertificateLoader.LoadFromKeyVaultAsync(string! keyVaultUrl, string! certificateName, string? managedIdentityClientId, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags x509KeyStorageFlags) -> System.Threading.Tasks.Task! static Microsoft.Identity.Web.KeyVaultCertificateLoader.UserAssignedManagedIdentityClientId.get -> string? static Microsoft.Identity.Web.KeyVaultCertificateLoader.UserAssignedManagedIdentityClientId.set -> void diff --git a/src/Microsoft.Identity.Web.Certificate/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.Certificate/PublicAPI.Shipped.txt index ff5a070be..648fb855e 100644 --- a/src/Microsoft.Identity.Web.Certificate/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.Certificate/PublicAPI.Shipped.txt @@ -18,19 +18,22 @@ Microsoft.Identity.Web.CertificateSource.StoreWithThumbprint = 4 -> Microsoft.Id Microsoft.Identity.Web.DefaultCertificateLoader Microsoft.Identity.Web.DefaultCertificateLoader.DefaultCertificateLoader() -> void Microsoft.Identity.Web.DefaultCertificateLoader.DefaultCertificateLoader(Microsoft.Extensions.Logging.ILogger? logger) -> void +Microsoft.Identity.Web.DefaultCertificateLoader.DefaultCertificateLoader(System.Collections.Generic.IEnumerable! customSignedAssertionProviders, Microsoft.Extensions.Logging.ILogger? logger) -> void Microsoft.Identity.Web.DefaultCertificateLoader.LoadIfNeeded(Microsoft.Identity.Web.CertificateDescription! certificateDescription) -> void Microsoft.Identity.Web.DefaultCertificateLoader.LoadIfNeededAsync(Microsoft.Identity.Web.CertificateDescription! certificateDescription) -> System.Threading.Tasks.Task! Microsoft.Identity.Web.DefaultCredentialsLoader Microsoft.Identity.Web.DefaultCredentialsLoader.CredentialSourceLoaders.get -> System.Collections.Generic.IDictionary! +Microsoft.Identity.Web.DefaultCredentialsLoader.CustomSignedAssertionCredentialSourceLoaders.get -> System.Collections.Generic.IDictionary? Microsoft.Identity.Web.DefaultCredentialsLoader.DefaultCredentialsLoader() -> void Microsoft.Identity.Web.DefaultCredentialsLoader.DefaultCredentialsLoader(Microsoft.Extensions.Logging.ILogger? logger) -> void +Microsoft.Identity.Web.DefaultCredentialsLoader.DefaultCredentialsLoader(System.Collections.Generic.IEnumerable! customSignedAssertionProviders, Microsoft.Extensions.Logging.ILogger? logger) -> void Microsoft.Identity.Web.DefaultCredentialsLoader.LoadCredentialsIfNeededAsync(Microsoft.Identity.Abstractions.CredentialDescription! credentialDescription, Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters? parameters = null) -> System.Threading.Tasks.Task! Microsoft.Identity.Web.DefaultCredentialsLoader.LoadFirstValidCredentialsAsync(System.Collections.Generic.IEnumerable! credentialDescriptions, Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters? parameters = null) -> System.Threading.Tasks.Task! Microsoft.Identity.Web.DefaultCredentialsLoader.ResetCredentials(System.Collections.Generic.IEnumerable! credentialDescriptions) -> void Microsoft.Identity.Web.ICertificateLoader Microsoft.Identity.Web.ICertificateLoader.LoadIfNeeded(Microsoft.Identity.Web.CertificateDescription! certificateDescription) -> void -static Microsoft.Identity.Web.CertificateDescription.FromBase64Encoded(string! base64EncodedValue, string! password) -> Microsoft.Identity.Web.CertificateDescription! static Microsoft.Identity.Web.CertificateDescription.FromBase64Encoded(string! base64EncodedValue) -> Microsoft.Identity.Web.CertificateDescription! +static Microsoft.Identity.Web.CertificateDescription.FromBase64Encoded(string! base64EncodedValue, string! password) -> Microsoft.Identity.Web.CertificateDescription! static Microsoft.Identity.Web.CertificateDescription.FromCertificate(System.Security.Cryptography.X509Certificates.X509Certificate2! x509certificate2) -> Microsoft.Identity.Web.CertificateDescription! static Microsoft.Identity.Web.CertificateDescription.FromKeyVault(string! keyVaultUrl, string! keyVaultCertificateName) -> Microsoft.Identity.Web.CertificateDescription! static Microsoft.Identity.Web.CertificateDescription.FromPath(string! path, string? password = null) -> Microsoft.Identity.Web.CertificateDescription! diff --git a/src/Microsoft.Identity.Web.Certificate/PublicAPI.Unshipped.txt b/src/Microsoft.Identity.Web.Certificate/PublicAPI.Unshipped.txt index 7dc5c5811..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.Certificate/PublicAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.Certificate/PublicAPI.Unshipped.txt @@ -1 +0,0 @@ -#nullable enable diff --git a/src/Microsoft.Identity.Web.Certificateless/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.Certificateless/PublicAPI.Shipped.txt index 072d368a1..6e598f87a 100644 --- a/src/Microsoft.Identity.Web.Certificateless/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.Certificateless/PublicAPI.Shipped.txt @@ -18,8 +18,8 @@ Microsoft.Identity.Web.ClientAssertionProviderBase.ClientAssertionProviderBase() Microsoft.Identity.Web.ClientAssertionProviderBase.Expiry.get -> System.DateTimeOffset? Microsoft.Identity.Web.ClientAssertionProviderBase.GetSignedAssertionAsync(Microsoft.Identity.Client.AssertionRequestOptions? assertionRequestOptions) -> System.Threading.Tasks.Task! Microsoft.Identity.Web.ManagedIdentityClientAssertion -Microsoft.Identity.Web.ManagedIdentityClientAssertion.ManagedIdentityClientAssertion(string? managedIdentityClientId, string? tokenExchangeUrl, Microsoft.Extensions.Logging.ILogger? logger) -> void -Microsoft.Identity.Web.ManagedIdentityClientAssertion.ManagedIdentityClientAssertion(string? managedIdentityClientId, string? tokenExchangeUrl) -> void Microsoft.Identity.Web.ManagedIdentityClientAssertion.ManagedIdentityClientAssertion(string? managedIdentityClientId) -> void +Microsoft.Identity.Web.ManagedIdentityClientAssertion.ManagedIdentityClientAssertion(string? managedIdentityClientId, string? tokenExchangeUrl) -> void +Microsoft.Identity.Web.ManagedIdentityClientAssertion.ManagedIdentityClientAssertion(string? managedIdentityClientId, string? tokenExchangeUrl, Microsoft.Extensions.Logging.ILogger? logger) -> void override Microsoft.Identity.Web.AzureIdentityForKubernetesClientAssertion.GetClientAssertionAsync(Microsoft.Identity.Client.AssertionRequestOptions? assertionRequestOptions) -> System.Threading.Tasks.Task! override Microsoft.Identity.Web.ManagedIdentityClientAssertion.GetClientAssertionAsync(Microsoft.Identity.Client.AssertionRequestOptions? assertionRequestOptions) -> System.Threading.Tasks.Task! diff --git a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net462/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net462/InternalAPI.Shipped.txt index 7419cb310..12a7b74e8 100644 --- a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net462/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net462/InternalAPI.Shipped.txt @@ -1,17 +1,23 @@ #nullable enable +Microsoft.Identity.Web.Diagnostics.IdHelper Microsoft.Identity.Web.Diagnostics.OsHelper Microsoft.Identity.Web.Diagnostics.OsHelper.OsHelper() -> void +Microsoft.Identity.Web.IdHelper Microsoft.Identity.Web.Throws +static Microsoft.Identity.Web.Diagnostics.IdHelper.CreateTelemetryInfo() -> string! +static Microsoft.Identity.Web.Diagnostics.IdHelper.GetIdWebVersion() -> string! static Microsoft.Identity.Web.Diagnostics.OsHelper.IsLinuxPlatform() -> bool static Microsoft.Identity.Web.Diagnostics.OsHelper.IsMacPlatform() -> bool static Microsoft.Identity.Web.Diagnostics.OsHelper.IsWindowsPlatform() -> bool -static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message, System.Exception? innerException) -> void +static Microsoft.Identity.Web.IdHelper.CreateTelemetryInfo() -> string! +static Microsoft.Identity.Web.IdHelper.GetIdWebVersion() -> string! static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message) -> void -static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName, string? message) -> void +static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message, System.Exception? innerException) -> void static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName) -> void +static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName, string? message) -> void +static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName) -> void static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName, object? actualValue, string? message) -> void static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName, string? message) -> void -static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName) -> void static Microsoft.Identity.Web.Throws.IfBufferTooSmall(int bufferSize, int requiredSize, string! paramName = "") -> void static Microsoft.Identity.Web.Throws.IfMemberNull(TParameter argument, TMember member, string! paramName = "", string! memberName = "") -> TMember static Microsoft.Identity.Web.Throws.IfNull(T argument, string! paramName = "") -> T @@ -21,8 +27,8 @@ static Microsoft.Identity.Web.Throws.IfNullOrEmpty(System.Collections.Generic static Microsoft.Identity.Web.Throws.IfNullOrMemberNull(TParameter argument, TMember member, string! paramName = "", string! memberName = "") -> TMember static Microsoft.Identity.Web.Throws.IfNullOrWhitespace(string? argument, string! paramName = "") -> string! static Microsoft.Identity.Web.Throws.IfOutOfRange(T argument, string! paramName = "") -> T -static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message, System.Exception? innerException) -> void static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message) -> void +static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message, System.Exception? innerException) -> void System.Diagnostics.CodeAnalysis.AllowNullAttribute System.Diagnostics.CodeAnalysis.AllowNullAttribute.AllowNullAttribute() -> void System.Diagnostics.CodeAnalysis.DisallowNullAttribute diff --git a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net462/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net462/InternalAPI.Unshipped.txt index 9077d1a55..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net462/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net462/InternalAPI.Unshipped.txt @@ -1,6 +0,0 @@ -Microsoft.Identity.Web.Diagnostics.IdHelper -Microsoft.Identity.Web.IdHelper -static Microsoft.Identity.Web.Diagnostics.IdHelper.CreateTelemetryInfo() -> string! -static Microsoft.Identity.Web.Diagnostics.IdHelper.GetIdWebVersion() -> string! -static Microsoft.Identity.Web.IdHelper.CreateTelemetryInfo() -> string! -static Microsoft.Identity.Web.IdHelper.GetIdWebVersion() -> string! diff --git a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net472/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net472/InternalAPI.Shipped.txt index 7419cb310..12a7b74e8 100644 --- a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net472/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net472/InternalAPI.Shipped.txt @@ -1,17 +1,23 @@ #nullable enable +Microsoft.Identity.Web.Diagnostics.IdHelper Microsoft.Identity.Web.Diagnostics.OsHelper Microsoft.Identity.Web.Diagnostics.OsHelper.OsHelper() -> void +Microsoft.Identity.Web.IdHelper Microsoft.Identity.Web.Throws +static Microsoft.Identity.Web.Diagnostics.IdHelper.CreateTelemetryInfo() -> string! +static Microsoft.Identity.Web.Diagnostics.IdHelper.GetIdWebVersion() -> string! static Microsoft.Identity.Web.Diagnostics.OsHelper.IsLinuxPlatform() -> bool static Microsoft.Identity.Web.Diagnostics.OsHelper.IsMacPlatform() -> bool static Microsoft.Identity.Web.Diagnostics.OsHelper.IsWindowsPlatform() -> bool -static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message, System.Exception? innerException) -> void +static Microsoft.Identity.Web.IdHelper.CreateTelemetryInfo() -> string! +static Microsoft.Identity.Web.IdHelper.GetIdWebVersion() -> string! static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message) -> void -static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName, string? message) -> void +static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message, System.Exception? innerException) -> void static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName) -> void +static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName, string? message) -> void +static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName) -> void static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName, object? actualValue, string? message) -> void static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName, string? message) -> void -static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName) -> void static Microsoft.Identity.Web.Throws.IfBufferTooSmall(int bufferSize, int requiredSize, string! paramName = "") -> void static Microsoft.Identity.Web.Throws.IfMemberNull(TParameter argument, TMember member, string! paramName = "", string! memberName = "") -> TMember static Microsoft.Identity.Web.Throws.IfNull(T argument, string! paramName = "") -> T @@ -21,8 +27,8 @@ static Microsoft.Identity.Web.Throws.IfNullOrEmpty(System.Collections.Generic static Microsoft.Identity.Web.Throws.IfNullOrMemberNull(TParameter argument, TMember member, string! paramName = "", string! memberName = "") -> TMember static Microsoft.Identity.Web.Throws.IfNullOrWhitespace(string? argument, string! paramName = "") -> string! static Microsoft.Identity.Web.Throws.IfOutOfRange(T argument, string! paramName = "") -> T -static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message, System.Exception? innerException) -> void static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message) -> void +static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message, System.Exception? innerException) -> void System.Diagnostics.CodeAnalysis.AllowNullAttribute System.Diagnostics.CodeAnalysis.AllowNullAttribute.AllowNullAttribute() -> void System.Diagnostics.CodeAnalysis.DisallowNullAttribute diff --git a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net472/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net472/InternalAPI.Unshipped.txt index ff830bd0f..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net472/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net472/InternalAPI.Unshipped.txt @@ -1,6 +0,0 @@ -Microsoft.Identity.Web.Diagnostics.IdHelper -Microsoft.Identity.Web.IdHelper -static Microsoft.Identity.Web.Diagnostics.IdHelper.CreateTelemetryInfo() -> string! -static Microsoft.Identity.Web.Diagnostics.IdHelper.GetIdWebVersion() -> string! -static Microsoft.Identity.Web.IdHelper.CreateTelemetryInfo() -> string! -static Microsoft.Identity.Web.IdHelper.GetIdWebVersion() -> string! \ No newline at end of file diff --git a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net6.0/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net6.0/InternalAPI.Shipped.txt index e3081ff83..9bf9f0311 100644 --- a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net6.0/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net6.0/InternalAPI.Shipped.txt @@ -1,17 +1,23 @@ #nullable enable +Microsoft.Identity.Web.Diagnostics.IdHelper Microsoft.Identity.Web.Diagnostics.OsHelper Microsoft.Identity.Web.Diagnostics.OsHelper.OsHelper() -> void +Microsoft.Identity.Web.IdHelper Microsoft.Identity.Web.Throws +static Microsoft.Identity.Web.Diagnostics.IdHelper.CreateTelemetryInfo() -> string! +static Microsoft.Identity.Web.Diagnostics.IdHelper.GetIdWebVersion() -> string! static Microsoft.Identity.Web.Diagnostics.OsHelper.IsLinuxPlatform() -> bool static Microsoft.Identity.Web.Diagnostics.OsHelper.IsMacPlatform() -> bool static Microsoft.Identity.Web.Diagnostics.OsHelper.IsWindowsPlatform() -> bool -static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message, System.Exception? innerException) -> void +static Microsoft.Identity.Web.IdHelper.CreateTelemetryInfo() -> string! +static Microsoft.Identity.Web.IdHelper.GetIdWebVersion() -> string! static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message) -> void -static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName, string? message) -> void +static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message, System.Exception? innerException) -> void static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName) -> void +static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName, string? message) -> void +static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName) -> void static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName, object? actualValue, string? message) -> void static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName, string? message) -> void -static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName) -> void static Microsoft.Identity.Web.Throws.IfBufferTooSmall(int bufferSize, int requiredSize, string! paramName = "") -> void static Microsoft.Identity.Web.Throws.IfMemberNull(TParameter argument, TMember member, string! paramName = "", string! memberName = "") -> TMember static Microsoft.Identity.Web.Throws.IfNull(T argument, string! paramName = "") -> T @@ -21,5 +27,5 @@ static Microsoft.Identity.Web.Throws.IfNullOrEmpty(System.Collections.Generic static Microsoft.Identity.Web.Throws.IfNullOrMemberNull(TParameter argument, TMember member, string! paramName = "", string! memberName = "") -> TMember static Microsoft.Identity.Web.Throws.IfNullOrWhitespace(string? argument, string! paramName = "") -> string! static Microsoft.Identity.Web.Throws.IfOutOfRange(T argument, string! paramName = "") -> T -static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message, System.Exception? innerException) -> void static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message) -> void +static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message, System.Exception? innerException) -> void diff --git a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net6.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net6.0/InternalAPI.Unshipped.txt index 9077d1a55..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net6.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net6.0/InternalAPI.Unshipped.txt @@ -1,6 +0,0 @@ -Microsoft.Identity.Web.Diagnostics.IdHelper -Microsoft.Identity.Web.IdHelper -static Microsoft.Identity.Web.Diagnostics.IdHelper.CreateTelemetryInfo() -> string! -static Microsoft.Identity.Web.Diagnostics.IdHelper.GetIdWebVersion() -> string! -static Microsoft.Identity.Web.IdHelper.CreateTelemetryInfo() -> string! -static Microsoft.Identity.Web.IdHelper.GetIdWebVersion() -> string! diff --git a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net7.0/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net7.0/InternalAPI.Shipped.txt index e3081ff83..9bf9f0311 100644 --- a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net7.0/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net7.0/InternalAPI.Shipped.txt @@ -1,17 +1,23 @@ #nullable enable +Microsoft.Identity.Web.Diagnostics.IdHelper Microsoft.Identity.Web.Diagnostics.OsHelper Microsoft.Identity.Web.Diagnostics.OsHelper.OsHelper() -> void +Microsoft.Identity.Web.IdHelper Microsoft.Identity.Web.Throws +static Microsoft.Identity.Web.Diagnostics.IdHelper.CreateTelemetryInfo() -> string! +static Microsoft.Identity.Web.Diagnostics.IdHelper.GetIdWebVersion() -> string! static Microsoft.Identity.Web.Diagnostics.OsHelper.IsLinuxPlatform() -> bool static Microsoft.Identity.Web.Diagnostics.OsHelper.IsMacPlatform() -> bool static Microsoft.Identity.Web.Diagnostics.OsHelper.IsWindowsPlatform() -> bool -static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message, System.Exception? innerException) -> void +static Microsoft.Identity.Web.IdHelper.CreateTelemetryInfo() -> string! +static Microsoft.Identity.Web.IdHelper.GetIdWebVersion() -> string! static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message) -> void -static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName, string? message) -> void +static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message, System.Exception? innerException) -> void static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName) -> void +static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName, string? message) -> void +static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName) -> void static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName, object? actualValue, string? message) -> void static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName, string? message) -> void -static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName) -> void static Microsoft.Identity.Web.Throws.IfBufferTooSmall(int bufferSize, int requiredSize, string! paramName = "") -> void static Microsoft.Identity.Web.Throws.IfMemberNull(TParameter argument, TMember member, string! paramName = "", string! memberName = "") -> TMember static Microsoft.Identity.Web.Throws.IfNull(T argument, string! paramName = "") -> T @@ -21,5 +27,5 @@ static Microsoft.Identity.Web.Throws.IfNullOrEmpty(System.Collections.Generic static Microsoft.Identity.Web.Throws.IfNullOrMemberNull(TParameter argument, TMember member, string! paramName = "", string! memberName = "") -> TMember static Microsoft.Identity.Web.Throws.IfNullOrWhitespace(string? argument, string! paramName = "") -> string! static Microsoft.Identity.Web.Throws.IfOutOfRange(T argument, string! paramName = "") -> T -static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message, System.Exception? innerException) -> void static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message) -> void +static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message, System.Exception? innerException) -> void diff --git a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net7.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net7.0/InternalAPI.Unshipped.txt index 9077d1a55..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net7.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net7.0/InternalAPI.Unshipped.txt @@ -1,6 +0,0 @@ -Microsoft.Identity.Web.Diagnostics.IdHelper -Microsoft.Identity.Web.IdHelper -static Microsoft.Identity.Web.Diagnostics.IdHelper.CreateTelemetryInfo() -> string! -static Microsoft.Identity.Web.Diagnostics.IdHelper.GetIdWebVersion() -> string! -static Microsoft.Identity.Web.IdHelper.CreateTelemetryInfo() -> string! -static Microsoft.Identity.Web.IdHelper.GetIdWebVersion() -> string! diff --git a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net8.0/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net8.0/InternalAPI.Shipped.txt index e3081ff83..9bf9f0311 100644 --- a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net8.0/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net8.0/InternalAPI.Shipped.txt @@ -1,17 +1,23 @@ #nullable enable +Microsoft.Identity.Web.Diagnostics.IdHelper Microsoft.Identity.Web.Diagnostics.OsHelper Microsoft.Identity.Web.Diagnostics.OsHelper.OsHelper() -> void +Microsoft.Identity.Web.IdHelper Microsoft.Identity.Web.Throws +static Microsoft.Identity.Web.Diagnostics.IdHelper.CreateTelemetryInfo() -> string! +static Microsoft.Identity.Web.Diagnostics.IdHelper.GetIdWebVersion() -> string! static Microsoft.Identity.Web.Diagnostics.OsHelper.IsLinuxPlatform() -> bool static Microsoft.Identity.Web.Diagnostics.OsHelper.IsMacPlatform() -> bool static Microsoft.Identity.Web.Diagnostics.OsHelper.IsWindowsPlatform() -> bool -static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message, System.Exception? innerException) -> void +static Microsoft.Identity.Web.IdHelper.CreateTelemetryInfo() -> string! +static Microsoft.Identity.Web.IdHelper.GetIdWebVersion() -> string! static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message) -> void -static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName, string? message) -> void +static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message, System.Exception? innerException) -> void static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName) -> void +static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName, string? message) -> void +static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName) -> void static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName, object? actualValue, string? message) -> void static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName, string? message) -> void -static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName) -> void static Microsoft.Identity.Web.Throws.IfBufferTooSmall(int bufferSize, int requiredSize, string! paramName = "") -> void static Microsoft.Identity.Web.Throws.IfMemberNull(TParameter argument, TMember member, string! paramName = "", string! memberName = "") -> TMember static Microsoft.Identity.Web.Throws.IfNull(T argument, string! paramName = "") -> T @@ -21,5 +27,5 @@ static Microsoft.Identity.Web.Throws.IfNullOrEmpty(System.Collections.Generic static Microsoft.Identity.Web.Throws.IfNullOrMemberNull(TParameter argument, TMember member, string! paramName = "", string! memberName = "") -> TMember static Microsoft.Identity.Web.Throws.IfNullOrWhitespace(string? argument, string! paramName = "") -> string! static Microsoft.Identity.Web.Throws.IfOutOfRange(T argument, string! paramName = "") -> T -static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message, System.Exception? innerException) -> void static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message) -> void +static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message, System.Exception? innerException) -> void diff --git a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net8.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net8.0/InternalAPI.Unshipped.txt index 9077d1a55..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net8.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net8.0/InternalAPI.Unshipped.txt @@ -1,6 +0,0 @@ -Microsoft.Identity.Web.Diagnostics.IdHelper -Microsoft.Identity.Web.IdHelper -static Microsoft.Identity.Web.Diagnostics.IdHelper.CreateTelemetryInfo() -> string! -static Microsoft.Identity.Web.Diagnostics.IdHelper.GetIdWebVersion() -> string! -static Microsoft.Identity.Web.IdHelper.CreateTelemetryInfo() -> string! -static Microsoft.Identity.Web.IdHelper.GetIdWebVersion() -> string! diff --git a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net9.0/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net9.0/InternalAPI.Shipped.txt index e3081ff83..9bf9f0311 100644 --- a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net9.0/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net9.0/InternalAPI.Shipped.txt @@ -1,17 +1,23 @@ #nullable enable +Microsoft.Identity.Web.Diagnostics.IdHelper Microsoft.Identity.Web.Diagnostics.OsHelper Microsoft.Identity.Web.Diagnostics.OsHelper.OsHelper() -> void +Microsoft.Identity.Web.IdHelper Microsoft.Identity.Web.Throws +static Microsoft.Identity.Web.Diagnostics.IdHelper.CreateTelemetryInfo() -> string! +static Microsoft.Identity.Web.Diagnostics.IdHelper.GetIdWebVersion() -> string! static Microsoft.Identity.Web.Diagnostics.OsHelper.IsLinuxPlatform() -> bool static Microsoft.Identity.Web.Diagnostics.OsHelper.IsMacPlatform() -> bool static Microsoft.Identity.Web.Diagnostics.OsHelper.IsWindowsPlatform() -> bool -static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message, System.Exception? innerException) -> void +static Microsoft.Identity.Web.IdHelper.CreateTelemetryInfo() -> string! +static Microsoft.Identity.Web.IdHelper.GetIdWebVersion() -> string! static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message) -> void -static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName, string? message) -> void +static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message, System.Exception? innerException) -> void static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName) -> void +static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName, string? message) -> void +static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName) -> void static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName, object? actualValue, string? message) -> void static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName, string? message) -> void -static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName) -> void static Microsoft.Identity.Web.Throws.IfBufferTooSmall(int bufferSize, int requiredSize, string! paramName = "") -> void static Microsoft.Identity.Web.Throws.IfMemberNull(TParameter argument, TMember member, string! paramName = "", string! memberName = "") -> TMember static Microsoft.Identity.Web.Throws.IfNull(T argument, string! paramName = "") -> T @@ -21,5 +27,5 @@ static Microsoft.Identity.Web.Throws.IfNullOrEmpty(System.Collections.Generic static Microsoft.Identity.Web.Throws.IfNullOrMemberNull(TParameter argument, TMember member, string! paramName = "", string! memberName = "") -> TMember static Microsoft.Identity.Web.Throws.IfNullOrWhitespace(string? argument, string! paramName = "") -> string! static Microsoft.Identity.Web.Throws.IfOutOfRange(T argument, string! paramName = "") -> T -static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message, System.Exception? innerException) -> void static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message) -> void +static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message, System.Exception? innerException) -> void diff --git a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net9.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net9.0/InternalAPI.Unshipped.txt index 9077d1a55..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net9.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/net9.0/InternalAPI.Unshipped.txt @@ -1,6 +0,0 @@ -Microsoft.Identity.Web.Diagnostics.IdHelper -Microsoft.Identity.Web.IdHelper -static Microsoft.Identity.Web.Diagnostics.IdHelper.CreateTelemetryInfo() -> string! -static Microsoft.Identity.Web.Diagnostics.IdHelper.GetIdWebVersion() -> string! -static Microsoft.Identity.Web.IdHelper.CreateTelemetryInfo() -> string! -static Microsoft.Identity.Web.IdHelper.GetIdWebVersion() -> string! diff --git a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/netstandard2.0/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/netstandard2.0/InternalAPI.Shipped.txt index 7419cb310..12a7b74e8 100644 --- a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/netstandard2.0/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/netstandard2.0/InternalAPI.Shipped.txt @@ -1,17 +1,23 @@ #nullable enable +Microsoft.Identity.Web.Diagnostics.IdHelper Microsoft.Identity.Web.Diagnostics.OsHelper Microsoft.Identity.Web.Diagnostics.OsHelper.OsHelper() -> void +Microsoft.Identity.Web.IdHelper Microsoft.Identity.Web.Throws +static Microsoft.Identity.Web.Diagnostics.IdHelper.CreateTelemetryInfo() -> string! +static Microsoft.Identity.Web.Diagnostics.IdHelper.GetIdWebVersion() -> string! static Microsoft.Identity.Web.Diagnostics.OsHelper.IsLinuxPlatform() -> bool static Microsoft.Identity.Web.Diagnostics.OsHelper.IsMacPlatform() -> bool static Microsoft.Identity.Web.Diagnostics.OsHelper.IsWindowsPlatform() -> bool -static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message, System.Exception? innerException) -> void +static Microsoft.Identity.Web.IdHelper.CreateTelemetryInfo() -> string! +static Microsoft.Identity.Web.IdHelper.GetIdWebVersion() -> string! static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message) -> void -static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName, string? message) -> void +static Microsoft.Identity.Web.Throws.ArgumentException(string! paramName, string? message, System.Exception? innerException) -> void static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName) -> void +static Microsoft.Identity.Web.Throws.ArgumentNullException(string! paramName, string? message) -> void +static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName) -> void static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName, object? actualValue, string? message) -> void static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName, string? message) -> void -static Microsoft.Identity.Web.Throws.ArgumentOutOfRangeException(string! paramName) -> void static Microsoft.Identity.Web.Throws.IfBufferTooSmall(int bufferSize, int requiredSize, string! paramName = "") -> void static Microsoft.Identity.Web.Throws.IfMemberNull(TParameter argument, TMember member, string! paramName = "", string! memberName = "") -> TMember static Microsoft.Identity.Web.Throws.IfNull(T argument, string! paramName = "") -> T @@ -21,8 +27,8 @@ static Microsoft.Identity.Web.Throws.IfNullOrEmpty(System.Collections.Generic static Microsoft.Identity.Web.Throws.IfNullOrMemberNull(TParameter argument, TMember member, string! paramName = "", string! memberName = "") -> TMember static Microsoft.Identity.Web.Throws.IfNullOrWhitespace(string? argument, string! paramName = "") -> string! static Microsoft.Identity.Web.Throws.IfOutOfRange(T argument, string! paramName = "") -> T -static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message, System.Exception? innerException) -> void static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message) -> void +static Microsoft.Identity.Web.Throws.InvalidOperationException(string! message, System.Exception? innerException) -> void System.Diagnostics.CodeAnalysis.AllowNullAttribute System.Diagnostics.CodeAnalysis.AllowNullAttribute.AllowNullAttribute() -> void System.Diagnostics.CodeAnalysis.DisallowNullAttribute diff --git a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/netstandard2.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/netstandard2.0/InternalAPI.Unshipped.txt index 9077d1a55..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/netstandard2.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.Diagnostics/PublicAPI/netstandard2.0/InternalAPI.Unshipped.txt @@ -1,6 +0,0 @@ -Microsoft.Identity.Web.Diagnostics.IdHelper -Microsoft.Identity.Web.IdHelper -static Microsoft.Identity.Web.Diagnostics.IdHelper.CreateTelemetryInfo() -> string! -static Microsoft.Identity.Web.Diagnostics.IdHelper.GetIdWebVersion() -> string! -static Microsoft.Identity.Web.IdHelper.CreateTelemetryInfo() -> string! -static Microsoft.Identity.Web.IdHelper.GetIdWebVersion() -> string! diff --git a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net462/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net462/InternalAPI.Shipped.txt index 581bb0008..d66662c6d 100644 --- a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net462/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net462/InternalAPI.Shipped.txt @@ -32,6 +32,7 @@ Microsoft.Identity.Web.DownstreamApi.PutForUserAsync(string? serviceName Microsoft.Identity.Web.DownstreamApi.UpdateRequestAsync(System.Net.Http.HttpRequestMessage! httpRequestMessage, System.Net.Http.HttpContent? content, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions, bool appToken, System.Security.Claims.ClaimsPrincipal? user, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task! Microsoft.Identity.Web.DownstreamApiLoggingEventId readonly Microsoft.Identity.Web.DownstreamApi._logger -> Microsoft.Extensions.Logging.ILogger! +static Microsoft.Identity.Web.DownstreamApi.CallerSDKDetails.get -> System.Collections.Generic.Dictionary! static Microsoft.Identity.Web.DownstreamApi.DeserializeOutputAsync(System.Net.Http.HttpResponseMessage! response, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions) -> System.Threading.Tasks.Task! static Microsoft.Identity.Web.DownstreamApi.Logger.HttpRequestError(Microsoft.Extensions.Logging.ILogger! logger, string! ServiceName, string! BaseUrl, string! RelativePath, System.Exception? ex) -> void static Microsoft.Identity.Web.DownstreamApi.Logger.UnauthenticatedApiCall(Microsoft.Extensions.Logging.ILogger! logger, System.Exception? ex) -> void diff --git a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net462/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net462/InternalAPI.Unshipped.txt index 066b4e1dc..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net462/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net462/InternalAPI.Unshipped.txt @@ -1 +0,0 @@ -static Microsoft.Identity.Web.DownstreamApi.CallerSDKDetails.get -> System.Collections.Generic.Dictionary! \ No newline at end of file diff --git a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net472/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net472/InternalAPI.Shipped.txt index 581bb0008..d66662c6d 100644 --- a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net472/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net472/InternalAPI.Shipped.txt @@ -32,6 +32,7 @@ Microsoft.Identity.Web.DownstreamApi.PutForUserAsync(string? serviceName Microsoft.Identity.Web.DownstreamApi.UpdateRequestAsync(System.Net.Http.HttpRequestMessage! httpRequestMessage, System.Net.Http.HttpContent? content, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions, bool appToken, System.Security.Claims.ClaimsPrincipal? user, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task! Microsoft.Identity.Web.DownstreamApiLoggingEventId readonly Microsoft.Identity.Web.DownstreamApi._logger -> Microsoft.Extensions.Logging.ILogger! +static Microsoft.Identity.Web.DownstreamApi.CallerSDKDetails.get -> System.Collections.Generic.Dictionary! static Microsoft.Identity.Web.DownstreamApi.DeserializeOutputAsync(System.Net.Http.HttpResponseMessage! response, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions) -> System.Threading.Tasks.Task! static Microsoft.Identity.Web.DownstreamApi.Logger.HttpRequestError(Microsoft.Extensions.Logging.ILogger! logger, string! ServiceName, string! BaseUrl, string! RelativePath, System.Exception? ex) -> void static Microsoft.Identity.Web.DownstreamApi.Logger.UnauthenticatedApiCall(Microsoft.Extensions.Logging.ILogger! logger, System.Exception? ex) -> void diff --git a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net472/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net472/InternalAPI.Unshipped.txt index 066b4e1dc..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net472/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net472/InternalAPI.Unshipped.txt @@ -1 +0,0 @@ -static Microsoft.Identity.Web.DownstreamApi.CallerSDKDetails.get -> System.Collections.Generic.Dictionary! \ No newline at end of file diff --git a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net6.0/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net6.0/InternalAPI.Shipped.txt index 1de8e1723..dc513c0f5 100644 --- a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net6.0/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net6.0/InternalAPI.Shipped.txt @@ -36,6 +36,7 @@ Microsoft.Identity.Web.DownstreamApi.PutForUserAsync(string? serviceName Microsoft.Identity.Web.DownstreamApi.UpdateRequestAsync(System.Net.Http.HttpRequestMessage! httpRequestMessage, System.Net.Http.HttpContent? content, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions, bool appToken, System.Security.Claims.ClaimsPrincipal? user, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task! Microsoft.Identity.Web.DownstreamApiLoggingEventId readonly Microsoft.Identity.Web.DownstreamApi._logger -> Microsoft.Extensions.Logging.ILogger! +static Microsoft.Identity.Web.DownstreamApi.CallerSDKDetails.get -> System.Collections.Generic.Dictionary! static Microsoft.Identity.Web.DownstreamApi.DeserializeOutputAsync(System.Net.Http.HttpResponseMessage! response, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions) -> System.Threading.Tasks.Task! static Microsoft.Identity.Web.DownstreamApi.Logger.HttpRequestError(Microsoft.Extensions.Logging.ILogger! logger, string! ServiceName, string! BaseUrl, string! RelativePath, System.Exception? ex) -> void static Microsoft.Identity.Web.DownstreamApi.Logger.UnauthenticatedApiCall(Microsoft.Extensions.Logging.ILogger! logger, System.Exception? ex) -> void diff --git a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net6.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net6.0/InternalAPI.Unshipped.txt index 066b4e1dc..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net6.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net6.0/InternalAPI.Unshipped.txt @@ -1 +0,0 @@ -static Microsoft.Identity.Web.DownstreamApi.CallerSDKDetails.get -> System.Collections.Generic.Dictionary! \ No newline at end of file diff --git a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net7.0/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net7.0/InternalAPI.Shipped.txt index 1de8e1723..dc513c0f5 100644 --- a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net7.0/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net7.0/InternalAPI.Shipped.txt @@ -36,6 +36,7 @@ Microsoft.Identity.Web.DownstreamApi.PutForUserAsync(string? serviceName Microsoft.Identity.Web.DownstreamApi.UpdateRequestAsync(System.Net.Http.HttpRequestMessage! httpRequestMessage, System.Net.Http.HttpContent? content, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions, bool appToken, System.Security.Claims.ClaimsPrincipal? user, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task! Microsoft.Identity.Web.DownstreamApiLoggingEventId readonly Microsoft.Identity.Web.DownstreamApi._logger -> Microsoft.Extensions.Logging.ILogger! +static Microsoft.Identity.Web.DownstreamApi.CallerSDKDetails.get -> System.Collections.Generic.Dictionary! static Microsoft.Identity.Web.DownstreamApi.DeserializeOutputAsync(System.Net.Http.HttpResponseMessage! response, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions) -> System.Threading.Tasks.Task! static Microsoft.Identity.Web.DownstreamApi.Logger.HttpRequestError(Microsoft.Extensions.Logging.ILogger! logger, string! ServiceName, string! BaseUrl, string! RelativePath, System.Exception? ex) -> void static Microsoft.Identity.Web.DownstreamApi.Logger.UnauthenticatedApiCall(Microsoft.Extensions.Logging.ILogger! logger, System.Exception? ex) -> void diff --git a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net7.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net7.0/InternalAPI.Unshipped.txt index 066b4e1dc..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net7.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net7.0/InternalAPI.Unshipped.txt @@ -1 +0,0 @@ -static Microsoft.Identity.Web.DownstreamApi.CallerSDKDetails.get -> System.Collections.Generic.Dictionary! \ No newline at end of file diff --git a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net8.0/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net8.0/InternalAPI.Shipped.txt index ef9aa6244..64b7c7852 100644 --- a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net8.0/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net8.0/InternalAPI.Shipped.txt @@ -60,12 +60,13 @@ Microsoft.Identity.Web.DownstreamApi.PutForUserAsync(string? serviceName Microsoft.Identity.Web.DownstreamApi.UpdateRequestAsync(System.Net.Http.HttpRequestMessage! httpRequestMessage, System.Net.Http.HttpContent? content, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions, bool appToken, System.Security.Claims.ClaimsPrincipal? user, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task! Microsoft.Identity.Web.DownstreamApiLoggingEventId readonly Microsoft.Identity.Web.DownstreamApi._logger -> Microsoft.Extensions.Logging.ILogger! -static Microsoft.Identity.Web.DownstreamApi.DeserializeOutputAsync(System.Net.Http.HttpResponseMessage! response, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions, System.Text.Json.Serialization.Metadata.JsonTypeInfo! outputJsonTypeInfo) -> System.Threading.Tasks.Task! +static Microsoft.Identity.Web.DownstreamApi.CallerSDKDetails.get -> System.Collections.Generic.Dictionary! static Microsoft.Identity.Web.DownstreamApi.DeserializeOutputAsync(System.Net.Http.HttpResponseMessage! response, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions) -> System.Threading.Tasks.Task! +static Microsoft.Identity.Web.DownstreamApi.DeserializeOutputAsync(System.Net.Http.HttpResponseMessage! response, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions, System.Text.Json.Serialization.Metadata.JsonTypeInfo! outputJsonTypeInfo) -> System.Threading.Tasks.Task! static Microsoft.Identity.Web.DownstreamApi.Logger.HttpRequestError(Microsoft.Extensions.Logging.ILogger! logger, string! ServiceName, string! BaseUrl, string! RelativePath, System.Exception? ex) -> void static Microsoft.Identity.Web.DownstreamApi.Logger.UnauthenticatedApiCall(Microsoft.Extensions.Logging.ILogger! logger, System.Exception? ex) -> void -static Microsoft.Identity.Web.DownstreamApi.SerializeInput(TInput input, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions, System.Text.Json.Serialization.Metadata.JsonTypeInfo! inputJsonTypeInfo) -> System.Net.Http.HttpContent? static Microsoft.Identity.Web.DownstreamApi.SerializeInput(TInput input, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions) -> System.Net.Http.HttpContent? +static Microsoft.Identity.Web.DownstreamApi.SerializeInput(TInput input, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions, System.Text.Json.Serialization.Metadata.JsonTypeInfo! inputJsonTypeInfo) -> System.Net.Http.HttpContent? static Microsoft.Identity.Web.DownstreamApiExtensions.AddDownstreamApiWithLifetime(Microsoft.Extensions.DependencyInjection.IServiceCollection! services, Microsoft.Extensions.DependencyInjection.ServiceLifetime lifetime) -> void static Microsoft.Identity.Web.DownstreamApiExtensions.RegisterDownstreamApi(Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> void static readonly Microsoft.Identity.Web.DownstreamApiLoggingEventId.HttpRequestError -> Microsoft.Extensions.Logging.EventId diff --git a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net8.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net8.0/InternalAPI.Unshipped.txt index 066b4e1dc..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net8.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net8.0/InternalAPI.Unshipped.txt @@ -1 +0,0 @@ -static Microsoft.Identity.Web.DownstreamApi.CallerSDKDetails.get -> System.Collections.Generic.Dictionary! \ No newline at end of file diff --git a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net9.0/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net9.0/InternalAPI.Shipped.txt index ef9aa6244..64b7c7852 100644 --- a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net9.0/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net9.0/InternalAPI.Shipped.txt @@ -60,12 +60,13 @@ Microsoft.Identity.Web.DownstreamApi.PutForUserAsync(string? serviceName Microsoft.Identity.Web.DownstreamApi.UpdateRequestAsync(System.Net.Http.HttpRequestMessage! httpRequestMessage, System.Net.Http.HttpContent? content, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions, bool appToken, System.Security.Claims.ClaimsPrincipal? user, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task! Microsoft.Identity.Web.DownstreamApiLoggingEventId readonly Microsoft.Identity.Web.DownstreamApi._logger -> Microsoft.Extensions.Logging.ILogger! -static Microsoft.Identity.Web.DownstreamApi.DeserializeOutputAsync(System.Net.Http.HttpResponseMessage! response, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions, System.Text.Json.Serialization.Metadata.JsonTypeInfo! outputJsonTypeInfo) -> System.Threading.Tasks.Task! +static Microsoft.Identity.Web.DownstreamApi.CallerSDKDetails.get -> System.Collections.Generic.Dictionary! static Microsoft.Identity.Web.DownstreamApi.DeserializeOutputAsync(System.Net.Http.HttpResponseMessage! response, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions) -> System.Threading.Tasks.Task! +static Microsoft.Identity.Web.DownstreamApi.DeserializeOutputAsync(System.Net.Http.HttpResponseMessage! response, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions, System.Text.Json.Serialization.Metadata.JsonTypeInfo! outputJsonTypeInfo) -> System.Threading.Tasks.Task! static Microsoft.Identity.Web.DownstreamApi.Logger.HttpRequestError(Microsoft.Extensions.Logging.ILogger! logger, string! ServiceName, string! BaseUrl, string! RelativePath, System.Exception? ex) -> void static Microsoft.Identity.Web.DownstreamApi.Logger.UnauthenticatedApiCall(Microsoft.Extensions.Logging.ILogger! logger, System.Exception? ex) -> void -static Microsoft.Identity.Web.DownstreamApi.SerializeInput(TInput input, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions, System.Text.Json.Serialization.Metadata.JsonTypeInfo! inputJsonTypeInfo) -> System.Net.Http.HttpContent? static Microsoft.Identity.Web.DownstreamApi.SerializeInput(TInput input, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions) -> System.Net.Http.HttpContent? +static Microsoft.Identity.Web.DownstreamApi.SerializeInput(TInput input, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions, System.Text.Json.Serialization.Metadata.JsonTypeInfo! inputJsonTypeInfo) -> System.Net.Http.HttpContent? static Microsoft.Identity.Web.DownstreamApiExtensions.AddDownstreamApiWithLifetime(Microsoft.Extensions.DependencyInjection.IServiceCollection! services, Microsoft.Extensions.DependencyInjection.ServiceLifetime lifetime) -> void static Microsoft.Identity.Web.DownstreamApiExtensions.RegisterDownstreamApi(Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> void static readonly Microsoft.Identity.Web.DownstreamApiLoggingEventId.HttpRequestError -> Microsoft.Extensions.Logging.EventId diff --git a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net9.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net9.0/InternalAPI.Unshipped.txt index 066b4e1dc..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net9.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/net9.0/InternalAPI.Unshipped.txt @@ -1 +0,0 @@ -static Microsoft.Identity.Web.DownstreamApi.CallerSDKDetails.get -> System.Collections.Generic.Dictionary! \ No newline at end of file diff --git a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/netstandard2.0/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/netstandard2.0/InternalAPI.Shipped.txt index 581bb0008..d66662c6d 100644 --- a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/netstandard2.0/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/netstandard2.0/InternalAPI.Shipped.txt @@ -32,6 +32,7 @@ Microsoft.Identity.Web.DownstreamApi.PutForUserAsync(string? serviceName Microsoft.Identity.Web.DownstreamApi.UpdateRequestAsync(System.Net.Http.HttpRequestMessage! httpRequestMessage, System.Net.Http.HttpContent? content, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions, bool appToken, System.Security.Claims.ClaimsPrincipal? user, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task! Microsoft.Identity.Web.DownstreamApiLoggingEventId readonly Microsoft.Identity.Web.DownstreamApi._logger -> Microsoft.Extensions.Logging.ILogger! +static Microsoft.Identity.Web.DownstreamApi.CallerSDKDetails.get -> System.Collections.Generic.Dictionary! static Microsoft.Identity.Web.DownstreamApi.DeserializeOutputAsync(System.Net.Http.HttpResponseMessage! response, Microsoft.Identity.Abstractions.DownstreamApiOptions! effectiveOptions) -> System.Threading.Tasks.Task! static Microsoft.Identity.Web.DownstreamApi.Logger.HttpRequestError(Microsoft.Extensions.Logging.ILogger! logger, string! ServiceName, string! BaseUrl, string! RelativePath, System.Exception? ex) -> void static Microsoft.Identity.Web.DownstreamApi.Logger.UnauthenticatedApiCall(Microsoft.Extensions.Logging.ILogger! logger, System.Exception? ex) -> void diff --git a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/netstandard2.0/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/netstandard2.0/InternalAPI.Unshipped.txt index 066b4e1dc..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/netstandard2.0/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.DownstreamApi/PublicAPI/netstandard2.0/InternalAPI.Unshipped.txt @@ -1 +0,0 @@ -static Microsoft.Identity.Web.DownstreamApi.CallerSDKDetails.get -> System.Collections.Generic.Dictionary! \ No newline at end of file diff --git a/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net462/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net462/PublicAPI.Shipped.txt index 8ea74be83..4dd3f8813 100644 --- a/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net462/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net462/PublicAPI.Shipped.txt @@ -10,9 +10,9 @@ Microsoft.Identity.Web.GraphServiceClientOptions.User.get -> System.Security.Cla Microsoft.Identity.Web.GraphServiceClientOptions.User.set -> void Microsoft.Identity.Web.GraphServiceCollectionExtensions Microsoft.Identity.Web.RequestOptionsExtension +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, Microsoft.Extensions.Configuration.IConfiguration! configurationSection) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.RequestOptionsExtension.WithAppOnly(this System.Collections.Generic.IList! options, bool appOnly = true, string? tenant = null) -> System.Collections.Generic.IList! static Microsoft.Identity.Web.RequestOptionsExtension.WithAuthenticationOptions(this System.Collections.Generic.IList! options, Microsoft.Identity.Web.GraphAuthenticationOptions! optionsValue) -> System.Collections.Generic.IList! static Microsoft.Identity.Web.RequestOptionsExtension.WithAuthenticationOptions(this System.Collections.Generic.IList! options, System.Action! optionsValue) -> System.Collections.Generic.IList! diff --git a/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net472/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net472/PublicAPI.Shipped.txt index 8ea74be83..4dd3f8813 100644 --- a/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net472/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net472/PublicAPI.Shipped.txt @@ -10,9 +10,9 @@ Microsoft.Identity.Web.GraphServiceClientOptions.User.get -> System.Security.Cla Microsoft.Identity.Web.GraphServiceClientOptions.User.set -> void Microsoft.Identity.Web.GraphServiceCollectionExtensions Microsoft.Identity.Web.RequestOptionsExtension +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, Microsoft.Extensions.Configuration.IConfiguration! configurationSection) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.RequestOptionsExtension.WithAppOnly(this System.Collections.Generic.IList! options, bool appOnly = true, string? tenant = null) -> System.Collections.Generic.IList! static Microsoft.Identity.Web.RequestOptionsExtension.WithAuthenticationOptions(this System.Collections.Generic.IList! options, Microsoft.Identity.Web.GraphAuthenticationOptions! optionsValue) -> System.Collections.Generic.IList! static Microsoft.Identity.Web.RequestOptionsExtension.WithAuthenticationOptions(this System.Collections.Generic.IList! options, System.Action! optionsValue) -> System.Collections.Generic.IList! diff --git a/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net6.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net6.0/PublicAPI.Shipped.txt index 1a3971297..eab501d56 100644 --- a/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net6.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net6.0/PublicAPI.Shipped.txt @@ -11,9 +11,9 @@ Microsoft.Identity.Web.GraphServiceClientOptions.User.set -> void Microsoft.Identity.Web.GraphServiceCollectionExtensions Microsoft.Identity.Web.MicrosoftGraphExtensions Microsoft.Identity.Web.RequestOptionsExtension +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, Microsoft.Extensions.Configuration.IConfiguration! configurationSection) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, Microsoft.Extensions.Configuration.IConfigurationSection! configurationSection) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! graphBaseUrl = "https://graph.microsoft.com/v1.0", System.Collections.Generic.IEnumerable? defaultScopes = null) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! diff --git a/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net7.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net7.0/PublicAPI.Shipped.txt index 1a3971297..eab501d56 100644 --- a/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net7.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net7.0/PublicAPI.Shipped.txt @@ -11,9 +11,9 @@ Microsoft.Identity.Web.GraphServiceClientOptions.User.set -> void Microsoft.Identity.Web.GraphServiceCollectionExtensions Microsoft.Identity.Web.MicrosoftGraphExtensions Microsoft.Identity.Web.RequestOptionsExtension +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, Microsoft.Extensions.Configuration.IConfiguration! configurationSection) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, Microsoft.Extensions.Configuration.IConfigurationSection! configurationSection) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! graphBaseUrl = "https://graph.microsoft.com/v1.0", System.Collections.Generic.IEnumerable? defaultScopes = null) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! diff --git a/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net8.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net8.0/PublicAPI.Shipped.txt index 1a3971297..eab501d56 100644 --- a/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net8.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net8.0/PublicAPI.Shipped.txt @@ -11,9 +11,9 @@ Microsoft.Identity.Web.GraphServiceClientOptions.User.set -> void Microsoft.Identity.Web.GraphServiceCollectionExtensions Microsoft.Identity.Web.MicrosoftGraphExtensions Microsoft.Identity.Web.RequestOptionsExtension +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, Microsoft.Extensions.Configuration.IConfiguration! configurationSection) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, Microsoft.Extensions.Configuration.IConfigurationSection! configurationSection) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! graphBaseUrl = "https://graph.microsoft.com/v1.0", System.Collections.Generic.IEnumerable? defaultScopes = null) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! diff --git a/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net9.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net9.0/PublicAPI.Shipped.txt index 1a3971297..eab501d56 100644 --- a/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net9.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/net9.0/PublicAPI.Shipped.txt @@ -11,9 +11,9 @@ Microsoft.Identity.Web.GraphServiceClientOptions.User.set -> void Microsoft.Identity.Web.GraphServiceCollectionExtensions Microsoft.Identity.Web.MicrosoftGraphExtensions Microsoft.Identity.Web.RequestOptionsExtension +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, Microsoft.Extensions.Configuration.IConfiguration! configurationSection) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, Microsoft.Extensions.Configuration.IConfigurationSection! configurationSection) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! graphBaseUrl = "https://graph.microsoft.com/v1.0", System.Collections.Generic.IEnumerable? defaultScopes = null) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! diff --git a/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt index 8ea74be83..4dd3f8813 100644 --- a/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.GraphServiceClient/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt @@ -10,9 +10,9 @@ Microsoft.Identity.Web.GraphServiceClientOptions.User.get -> System.Security.Cla Microsoft.Identity.Web.GraphServiceClientOptions.User.set -> void Microsoft.Identity.Web.GraphServiceCollectionExtensions Microsoft.Identity.Web.RequestOptionsExtension +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, Microsoft.Extensions.Configuration.IConfiguration! configurationSection) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.RequestOptionsExtension.WithAppOnly(this System.Collections.Generic.IList! options, bool appOnly = true, string? tenant = null) -> System.Collections.Generic.IList! static Microsoft.Identity.Web.RequestOptionsExtension.WithAuthenticationOptions(this System.Collections.Generic.IList! options, Microsoft.Identity.Web.GraphAuthenticationOptions! optionsValue) -> System.Collections.Generic.IList! static Microsoft.Identity.Web.RequestOptionsExtension.WithAuthenticationOptions(this System.Collections.Generic.IList! options, System.Action! optionsValue) -> System.Collections.Generic.IList! diff --git a/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net462/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net462/PublicAPI.Shipped.txt index b3a6ce656..d1e2360f3 100644 --- a/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net462/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net462/PublicAPI.Shipped.txt @@ -1,5 +1,5 @@ #nullable enable Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions +static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, Microsoft.Extensions.Configuration.IConfiguration! configurationSection) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! -static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! diff --git a/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net472/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net472/PublicAPI.Shipped.txt index b3a6ce656..d1e2360f3 100644 --- a/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net472/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net472/PublicAPI.Shipped.txt @@ -1,5 +1,5 @@ #nullable enable Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions +static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, Microsoft.Extensions.Configuration.IConfiguration! configurationSection) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! -static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! diff --git a/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net6.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net6.0/PublicAPI.Shipped.txt index b3a6ce656..d1e2360f3 100644 --- a/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net6.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net6.0/PublicAPI.Shipped.txt @@ -1,5 +1,5 @@ #nullable enable Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions +static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, Microsoft.Extensions.Configuration.IConfiguration! configurationSection) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! -static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! diff --git a/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net7.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net7.0/PublicAPI.Shipped.txt index b3a6ce656..d1e2360f3 100644 --- a/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net7.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net7.0/PublicAPI.Shipped.txt @@ -1,5 +1,5 @@ #nullable enable Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions +static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, Microsoft.Extensions.Configuration.IConfiguration! configurationSection) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! -static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! diff --git a/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net8.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net8.0/PublicAPI.Shipped.txt index b3a6ce656..d1e2360f3 100644 --- a/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net8.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net8.0/PublicAPI.Shipped.txt @@ -1,5 +1,5 @@ #nullable enable Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions +static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, Microsoft.Extensions.Configuration.IConfiguration! configurationSection) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! -static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! diff --git a/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net9.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net9.0/PublicAPI.Shipped.txt index b3a6ce656..d1e2360f3 100644 --- a/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net9.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/net9.0/PublicAPI.Shipped.txt @@ -1,5 +1,5 @@ #nullable enable Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions +static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, Microsoft.Extensions.Configuration.IConfiguration! configurationSection) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! -static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! diff --git a/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt index b3a6ce656..d1e2360f3 100644 --- a/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.GraphServiceClientBeta/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt @@ -1,5 +1,5 @@ #nullable enable Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions +static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, Microsoft.Extensions.Configuration.IConfiguration! configurationSection) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! -static Microsoft.Identity.Web.GraphBetaServiceCollectionExtensions.AddMicrosoftGraphBeta(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! diff --git a/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net462/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net462/PublicAPI.Shipped.txt index b2621f520..e79c0573d 100644 --- a/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net462/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net462/PublicAPI.Shipped.txt @@ -12,5 +12,5 @@ static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationOptions static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationScheme(this T baseRequest, string! authenticationScheme) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithScopes(this T baseRequest, params string![]! scopes) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithUser(this T baseRequest, System.Security.Claims.ClaimsPrincipal! user) -> T -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! diff --git a/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net472/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net472/PublicAPI.Shipped.txt index b2621f520..e79c0573d 100644 --- a/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net472/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net472/PublicAPI.Shipped.txt @@ -12,5 +12,5 @@ static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationOptions static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationScheme(this T baseRequest, string! authenticationScheme) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithScopes(this T baseRequest, params string![]! scopes) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithUser(this T baseRequest, System.Security.Claims.ClaimsPrincipal! user) -> T -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! diff --git a/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net6.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net6.0/PublicAPI.Shipped.txt index 402f0f049..24f4758da 100644 --- a/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net6.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net6.0/PublicAPI.Shipped.txt @@ -13,8 +13,8 @@ static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationOptions static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationScheme(this T baseRequest, string! authenticationScheme) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithScopes(this T baseRequest, params string![]! scopes) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithUser(this T baseRequest, System.Security.Claims.ClaimsPrincipal! user) -> T -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, Microsoft.Extensions.Configuration.IConfigurationSection! configurationSection) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! graphBaseUrl = "https://graph.microsoft.com/v1.0", string! defaultScopes = "user.read") -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! diff --git a/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net7.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net7.0/PublicAPI.Shipped.txt index 402f0f049..24f4758da 100644 --- a/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net7.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net7.0/PublicAPI.Shipped.txt @@ -13,8 +13,8 @@ static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationOptions static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationScheme(this T baseRequest, string! authenticationScheme) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithScopes(this T baseRequest, params string![]! scopes) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithUser(this T baseRequest, System.Security.Claims.ClaimsPrincipal! user) -> T -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, Microsoft.Extensions.Configuration.IConfigurationSection! configurationSection) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! graphBaseUrl = "https://graph.microsoft.com/v1.0", string! defaultScopes = "user.read") -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! diff --git a/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net8.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net8.0/PublicAPI.Shipped.txt index 402f0f049..24f4758da 100644 --- a/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net8.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net8.0/PublicAPI.Shipped.txt @@ -13,8 +13,8 @@ static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationOptions static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationScheme(this T baseRequest, string! authenticationScheme) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithScopes(this T baseRequest, params string![]! scopes) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithUser(this T baseRequest, System.Security.Claims.ClaimsPrincipal! user) -> T -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, Microsoft.Extensions.Configuration.IConfigurationSection! configurationSection) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! graphBaseUrl = "https://graph.microsoft.com/v1.0", string! defaultScopes = "user.read") -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! diff --git a/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net9.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net9.0/PublicAPI.Shipped.txt index 402f0f049..24f4758da 100644 --- a/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net9.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/net9.0/PublicAPI.Shipped.txt @@ -13,8 +13,8 @@ static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationOptions static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationScheme(this T baseRequest, string! authenticationScheme) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithScopes(this T baseRequest, params string![]! scopes) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithUser(this T baseRequest, System.Security.Claims.ClaimsPrincipal! user) -> T -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, Microsoft.Extensions.Configuration.IConfigurationSection! configurationSection) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! graphBaseUrl = "https://graph.microsoft.com/v1.0", string! defaultScopes = "user.read") -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! diff --git a/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt index b2621f520..e79c0573d 100644 --- a/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.MicrosoftGraph/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt @@ -12,5 +12,5 @@ static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationOptions static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationScheme(this T baseRequest, string! authenticationScheme) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithScopes(this T baseRequest, params string![]! scopes) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithUser(this T baseRequest, System.Security.Claims.ClaimsPrincipal! user) -> T -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! diff --git a/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net462/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net462/PublicAPI.Shipped.txt index b2621f520..e79c0573d 100644 --- a/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net462/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net462/PublicAPI.Shipped.txt @@ -12,5 +12,5 @@ static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationOptions static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationScheme(this T baseRequest, string! authenticationScheme) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithScopes(this T baseRequest, params string![]! scopes) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithUser(this T baseRequest, System.Security.Claims.ClaimsPrincipal! user) -> T -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! diff --git a/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net472/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net472/PublicAPI.Shipped.txt index b2621f520..e79c0573d 100644 --- a/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net472/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net472/PublicAPI.Shipped.txt @@ -12,5 +12,5 @@ static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationOptions static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationScheme(this T baseRequest, string! authenticationScheme) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithScopes(this T baseRequest, params string![]! scopes) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithUser(this T baseRequest, System.Security.Claims.ClaimsPrincipal! user) -> T -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! diff --git a/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net6.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net6.0/PublicAPI.Shipped.txt index 402f0f049..24f4758da 100644 --- a/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net6.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net6.0/PublicAPI.Shipped.txt @@ -13,8 +13,8 @@ static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationOptions static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationScheme(this T baseRequest, string! authenticationScheme) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithScopes(this T baseRequest, params string![]! scopes) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithUser(this T baseRequest, System.Security.Claims.ClaimsPrincipal! user) -> T -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, Microsoft.Extensions.Configuration.IConfigurationSection! configurationSection) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! graphBaseUrl = "https://graph.microsoft.com/v1.0", string! defaultScopes = "user.read") -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! diff --git a/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net7.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net7.0/PublicAPI.Shipped.txt index 402f0f049..24f4758da 100644 --- a/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net7.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net7.0/PublicAPI.Shipped.txt @@ -13,8 +13,8 @@ static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationOptions static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationScheme(this T baseRequest, string! authenticationScheme) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithScopes(this T baseRequest, params string![]! scopes) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithUser(this T baseRequest, System.Security.Claims.ClaimsPrincipal! user) -> T -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, Microsoft.Extensions.Configuration.IConfigurationSection! configurationSection) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! graphBaseUrl = "https://graph.microsoft.com/v1.0", string! defaultScopes = "user.read") -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! diff --git a/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net8.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net8.0/PublicAPI.Shipped.txt index 402f0f049..24f4758da 100644 --- a/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net8.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net8.0/PublicAPI.Shipped.txt @@ -13,8 +13,8 @@ static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationOptions static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationScheme(this T baseRequest, string! authenticationScheme) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithScopes(this T baseRequest, params string![]! scopes) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithUser(this T baseRequest, System.Security.Claims.ClaimsPrincipal! user) -> T -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, Microsoft.Extensions.Configuration.IConfigurationSection! configurationSection) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! graphBaseUrl = "https://graph.microsoft.com/v1.0", string! defaultScopes = "user.read") -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! diff --git a/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net9.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net9.0/PublicAPI.Shipped.txt index 402f0f049..24f4758da 100644 --- a/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net9.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/net9.0/PublicAPI.Shipped.txt @@ -13,8 +13,8 @@ static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationOptions static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationScheme(this T baseRequest, string! authenticationScheme) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithScopes(this T baseRequest, params string![]! scopes) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithUser(this T baseRequest, System.Security.Claims.ClaimsPrincipal! user) -> T -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, Microsoft.Extensions.Configuration.IConfigurationSection! configurationSection) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! graphBaseUrl = "https://graph.microsoft.com/v1.0", string! defaultScopes = "user.read") -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! diff --git a/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt index b2621f520..e79c0573d 100644 --- a/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.MicrosoftGraphBeta/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt @@ -12,5 +12,5 @@ static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationOptions static Microsoft.Identity.Web.BaseRequestExtensions.WithAuthenticationScheme(this T baseRequest, string! authenticationScheme) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithScopes(this T baseRequest, params string![]! scopes) -> T static Microsoft.Identity.Web.BaseRequestExtensions.WithUser(this T baseRequest, System.Security.Claims.ClaimsPrincipal! user) -> T -static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! +static Microsoft.Identity.Web.GraphServiceCollectionExtensions.AddMicrosoftGraph(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action! configureMicrosoftGraphOptions) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! diff --git a/src/Microsoft.Identity.Web.OWIN/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.OWIN/InternalAPI.Shipped.txt index b39132440..91dbdef29 100644 --- a/src/Microsoft.Identity.Web.OWIN/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.OWIN/InternalAPI.Shipped.txt @@ -14,3 +14,4 @@ Microsoft.Identity.Web.OpenIdConnectCachingSecurityTokenProvider._configManager Microsoft.Identity.Web.OpenIdConnectCachingSecurityTokenProvider.Issuer.get -> string? Microsoft.Identity.Web.OpenIdConnectCachingSecurityTokenProvider.OpenIdConnectCachingSecurityTokenProvider(string! metadataEndpoint) -> void Microsoft.Identity.Web.OpenIdConnectCachingSecurityTokenProvider.SecurityKeys.get -> System.Collections.Generic.IEnumerable? +readonly Microsoft.Identity.Web.OpenIdConnectCachingSecurityTokenProvider._configManager -> Microsoft.IdentityModel.Protocols.ConfigurationManager! diff --git a/src/Microsoft.Identity.Web.OWIN/InternalAPI.Unshipped.txt b/src/Microsoft.Identity.Web.OWIN/InternalAPI.Unshipped.txt index 8dcbe6a18..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.OWIN/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.OWIN/InternalAPI.Unshipped.txt @@ -1 +0,0 @@ -readonly Microsoft.Identity.Web.OpenIdConnectCachingSecurityTokenProvider._configManager -> Microsoft.IdentityModel.Protocols.ConfigurationManager! \ No newline at end of file diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/ConfidentialClientApplicationBuilderExtension.Logger.cs b/src/Microsoft.Identity.Web.TokenAcquisition/ConfidentialClientApplicationBuilderExtension.Logger.cs index 477143708..8352fd046 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/ConfidentialClientApplicationBuilderExtension.Logger.cs +++ b/src/Microsoft.Identity.Web.TokenAcquisition/ConfidentialClientApplicationBuilderExtension.Logger.cs @@ -35,6 +35,12 @@ internal static class Logger LoggingEventId.UsingSignedAssertionFromVault, "[MsIdWeb] Using signed assertion from {signedAssertionUri} as client credentials. "); + private static readonly Action s_usingSignedAssertionFromCustomProvider = + LoggerMessage.Define( + LogLevel.Information, + LoggingEventId.UsingSignedAssertionFromCustomProvider, + "[MsIdWeb] Using signed assertion from {signedAssertionUri} as client credentials. "); + private static readonly Action s_usingCertThumbprint = LoggerMessage.Define( LogLevel.Information, @@ -49,9 +55,9 @@ internal static class Logger private static readonly Action s_credentialAttemptFailed = LoggerMessage.Define( - LogLevel.Information, - LoggingEventId.CredentialLoadAttemptFailed, - "[MsIdWeb] Loading the credential from CredentialDescription Id={Id} failed. Will the credential be re-attempted? - {Skip}."); + LogLevel.Information, + LoggingEventId.CredentialLoadAttemptFailed, + "[MsIdWeb] Loading the credential from CredentialDescription Id={Id} failed. Will the credential be re-attempted? - {Skip}."); /// /// Logger for attempting to use a CredentialDescription with MSAL @@ -131,6 +137,14 @@ public static void UsingSignedAssertionFromVault( ILogger logger, string signedAssertionUri) => s_usingSignedAssertionFromVault(logger, signedAssertionUri, default!); + /// + /// Logger for handling information specific to ConfidentialClientApplicationBuilderExtension. + /// + /// ILogger. + /// + public static void UsingSignedAssertionFromCustomProvider( + ILogger logger, + string signedAssertionUri) => s_usingSignedAssertionFromCustomProvider(logger, signedAssertionUri, default!); /// /// Logger for handling information specific to ConfidentialClientApplicationBuilderExtension. diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/ConfidentialClientApplicationBuilderExtension.cs b/src/Microsoft.Identity.Web.TokenAcquisition/ConfidentialClientApplicationBuilderExtension.cs index b95db70d4..324f0e458 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/ConfidentialClientApplicationBuilderExtension.cs +++ b/src/Microsoft.Identity.Web.TokenAcquisition/ConfidentialClientApplicationBuilderExtension.cs @@ -115,6 +115,14 @@ public static async Task WithClientCredent return credential; } } + if (credential.SourceType == CredentialSource.CustomSignedAssertion) + { + if (!credential.Skip) + { + Logger.UsingSignedAssertionFromCustomProvider(logger, credential.CustomSignedAssertionProviderName ?? "undefined"); + return credential; + } + } } if (credential.CredentialType == CredentialType.Certificate) diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/LoggingEventId.cs b/src/Microsoft.Identity.Web.TokenAcquisition/LoggingEventId.cs index 746132727..2abac1a8b 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/LoggingEventId.cs +++ b/src/Microsoft.Identity.Web.TokenAcquisition/LoggingEventId.cs @@ -27,6 +27,7 @@ internal static class LoggingEventId public static readonly EventId UsingSignedAssertionFromVault = new EventId(404, "UsingSignedAssertionFromVault"); public static readonly EventId CredentialLoadAttempt = new EventId(405, "CredentialLoadAttempt"); public static readonly EventId CredentialLoadAttemptFailed = new EventId(406, "CredentialLoadAttemptFailed"); + public static readonly EventId UsingSignedAssertionFromCustomProvider = new EventId(407, "UsingSignedAssertionFromCustomProvider"); #pragma warning restore IDE1006 // Naming Styles } diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/InternalAPI.Shipped.txt index 8f4830af7..08910a8b3 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/InternalAPI.Shipped.txt @@ -183,6 +183,8 @@ Microsoft.Identity.Web.LogMessages Microsoft.Identity.Web.MergedOptions Microsoft.Identity.Web.MergedOptions.AadAuthorityAudience.get -> Microsoft.Identity.Client.AadAuthorityAudience Microsoft.Identity.Web.MergedOptions.AadAuthorityAudience.set -> void +Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? +Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void Microsoft.Identity.Web.MergedOptions.AzureCloudInstance.get -> Microsoft.Identity.Client.AzureCloudInstance Microsoft.Identity.Web.MergedOptions.AzureCloudInstance.set -> void Microsoft.Identity.Web.MergedOptions.AzureRegion.get -> string? @@ -208,6 +210,8 @@ Microsoft.Identity.Web.MergedOptions.MergedOptions() -> void Microsoft.Identity.Web.MergedOptions.MergedWithCca.get -> bool Microsoft.Identity.Web.MergedOptions.MergedWithCca.set -> void Microsoft.Identity.Web.MergedOptions.PrepareAuthorityInstanceForMsal() -> void +Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? +Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.MergedOptions.PreserveAuthority.get -> bool Microsoft.Identity.Web.MergedOptions.PreserveAuthority.set -> void Microsoft.Identity.Web.MergedOptions.RedirectUri.get -> string? @@ -243,6 +247,8 @@ Microsoft.Identity.Web.TokenAcquisition.GetOrBuildManagedIdentityApplicationAsyn Microsoft.Identity.Web.TokenAcquisition.Logger Microsoft.Identity.Web.TokenAcquisition.RemoveAccountAsync(System.Security.Claims.ClaimsPrincipal! user, string? authenticationScheme = null) -> System.Threading.Tasks.Task! Microsoft.Identity.Web.TokenAcquisition.TokenAcquisition(Microsoft.Identity.Web.TokenCacheProviders.IMsalTokenCacheProvider! tokenCacheProvider, Microsoft.Identity.Web.ITokenAcquisitionHost! tokenAcquisitionHost, System.Net.Http.IHttpClientFactory! httpClientFactory, Microsoft.Extensions.Logging.ILogger! logger, System.IServiceProvider! serviceProvider, Microsoft.Identity.Abstractions.ICredentialsLoader! credentialsLoader) -> 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 Microsoft.Identity.Web.Util.Base64UrlHelpers readonly Microsoft.Identity.Web.TokenAcquisition._certificatesObserver -> Microsoft.Identity.Web.Experimental.ICertificatesObserver? readonly Microsoft.Identity.Web.TokenAcquisition._credentialsLoader -> Microsoft.Identity.Abstractions.ICredentialsLoader! @@ -251,6 +257,7 @@ readonly Microsoft.Identity.Web.TokenAcquisition._logger -> Microsoft.Extensions readonly Microsoft.Identity.Web.TokenAcquisition._serviceProvider -> System.IServiceProvider! readonly Microsoft.Identity.Web.TokenAcquisition._tokenAcquisitionHost -> Microsoft.Identity.Web.ITokenAcquisitionHost! readonly Microsoft.Identity.Web.TokenAcquisition._tokenCacheProvider -> Microsoft.Identity.Web.TokenCacheProviders.IMsalTokenCacheProvider! +readonly Microsoft.Identity.Web.TokenAcquisition.tokenAcquisitionExtensionOptionsMonitor -> Microsoft.Extensions.Options.IOptionsMonitor? static Microsoft.Identity.Web.CiamAuthorityHelper.BuildCiamAuthorityIfNeeded(Microsoft.Identity.Abstractions.MicrosoftIdentityApplicationOptions! options) -> void static Microsoft.Identity.Web.ClientInfo.CreateFromJson(string? clientInfo) -> Microsoft.Identity.Web.ClientInfo? static Microsoft.Identity.Web.ClientInfo.DeserializeFromJson(byte[]? jsonByteArray) -> Microsoft.Identity.Web.ClientInfo? @@ -262,6 +269,7 @@ static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logg static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingCertThumbprint(Microsoft.Extensions.Logging.ILogger! logger, string! certThumbprint) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingManagedIdentity(Microsoft.Extensions.Logging.ILogger! logger) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingPodIdentityFile(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionFileDiskPath) -> void +static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingSignedAssertionFromCustomProvider(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionUri) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingSignedAssertionFromVault(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionUri) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.WithClientCredentials(this Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! builder, System.Collections.Generic.IEnumerable! clientCredentials, Microsoft.Extensions.Logging.ILogger! logger, Microsoft.Identity.Abstractions.ICredentialsLoader! credentialsLoader, Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters! credentialSourceLoaderParameters) -> Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.WithClientCredentialsAsync(this Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! builder, System.Collections.Generic.IEnumerable! clientCredentials, Microsoft.Extensions.Logging.ILogger! logger, Microsoft.Identity.Abstractions.ICredentialsLoader! credentialsLoader, Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters? credentialSourceLoaderParameters) -> System.Threading.Tasks.Task! @@ -280,6 +288,7 @@ static Microsoft.Identity.Web.TokenAcquisition.GetCacheKeyForManagedId(Microsoft static Microsoft.Identity.Web.TokenAcquisition.Logger.TokenAcquisitionError(Microsoft.Extensions.Logging.ILogger! logger, string! msalErrorMessage, System.Exception? ex) -> void static Microsoft.Identity.Web.TokenAcquisition.Logger.TokenAcquisitionMsalAuthenticationResultTime(Microsoft.Extensions.Logging.ILogger! logger, long durationTotalInMs, long durationInHttpInMs, long durationInCacheInMs, string! tokenSource, string! correlationId, string! cacheRefreshReason, System.Exception? ex) -> void static Microsoft.Identity.Web.TokenAcquisition.MergeExtraQueryParameters(Microsoft.Identity.Web.MergedOptions! mergedOptions, Microsoft.Identity.Web.TokenAcquisitionOptions! tokenAcquisitionOptions) -> System.Collections.Generic.Dictionary? +static Microsoft.Identity.Web.TokenAcquisition.ResolveTenant(string? tenant, Microsoft.Identity.Web.MergedOptions! mergedOptions) -> string? static Microsoft.Identity.Web.Util.Base64UrlHelpers.Decode(string! arg) -> string? static Microsoft.Identity.Web.Util.Base64UrlHelpers.DecodeBytes(string? str) -> byte[]? static Microsoft.Identity.Web.Util.Base64UrlHelpers.Encode(byte[]? inArray) -> string? @@ -295,4 +304,5 @@ static readonly Microsoft.Identity.Web.LoggingEventId.TokenAcquisitionMsalAuthen static readonly Microsoft.Identity.Web.LoggingEventId.UsingCertThumbprint -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingManagedIdentity -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingPodIdentityFile -> Microsoft.Extensions.Logging.EventId +static readonly Microsoft.Identity.Web.LoggingEventId.UsingSignedAssertionFromCustomProvider -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingSignedAssertionFromVault -> Microsoft.Extensions.Logging.EventId 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 9ee6a81d4..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/InternalAPI.Unshipped.txt @@ -1,9 +0,0 @@ -#nullable enable -Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? -Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> 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? -static Microsoft.Identity.Web.TokenAcquisition.ResolveTenant(string? tenant, Microsoft.Identity.Web.MergedOptions! mergedOptions) -> string? diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/PublicAPI.Shipped.txt index 2fc833600..39f0c4a8c 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/PublicAPI.Shipped.txt @@ -5,6 +5,7 @@ const Microsoft.Identity.Web.ClaimConstants.Name = "name" -> string! const Microsoft.Identity.Web.ClaimConstants.NameIdentifierId = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier" -> string! const Microsoft.Identity.Web.ClaimConstants.ObjectId = "http://schemas.microsoft.com/identity/claims/objectidentifier" -> string! const Microsoft.Identity.Web.ClaimConstants.Oid = "oid" -> string! +const Microsoft.Identity.Web.ClaimConstants.Password = "xms_password" -> string! const Microsoft.Identity.Web.ClaimConstants.PreferredUserName = "preferred_username" -> string! const Microsoft.Identity.Web.ClaimConstants.Role = "http://schemas.microsoft.com/ws/2008/06/identity/claims/role" -> string! const Microsoft.Identity.Web.ClaimConstants.Roles = "roles" -> string! @@ -17,6 +18,7 @@ const Microsoft.Identity.Web.ClaimConstants.Tid = "tid" -> string! const Microsoft.Identity.Web.ClaimConstants.UniqueObjectIdentifier = "uid" -> string! const Microsoft.Identity.Web.ClaimConstants.UniqueTenantIdentifier = "utid" -> string! const Microsoft.Identity.Web.ClaimConstants.UserFlow = "http://schemas.microsoft.com/claims/authnclassreference" -> string! +const Microsoft.Identity.Web.ClaimConstants.Username = "xms_username" -> string! const Microsoft.Identity.Web.Constants.AzureAd = "AzureAd" -> string! const Microsoft.Identity.Web.Constants.AzureAdB2C = "AzureAdB2C" -> string! const Microsoft.Identity.Web.Constants.Bearer = "Bearer" -> string! @@ -29,6 +31,8 @@ const Microsoft.Identity.Web.Constants.ResetPasswordPath = "/MicrosoftIdentity/A const Microsoft.Identity.Web.Constants.ReturnUrl = "ReturnUrl" -> string! const Microsoft.Identity.Web.Constants.Scope = "scope" -> string! const Microsoft.Identity.Web.Constants.SpaAuthCode = "SpaAuthCode" -> string! +Microsoft.Identity.Web.BeforeTokenAcquisitionForApp +Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser Microsoft.Identity.Web.ClaimConstants Microsoft.Identity.Web.Constants Microsoft.Identity.Web.Experimental.CerticateObserverAction @@ -131,6 +135,10 @@ Microsoft.Identity.Web.TokenAcquirerFactory.ServiceProvider.get -> System.IServi Microsoft.Identity.Web.TokenAcquirerFactory.ServiceProvider.set -> void Microsoft.Identity.Web.TokenAcquirerFactory.Services.get -> Microsoft.Extensions.DependencyInjection.ServiceCollection! Microsoft.Identity.Web.TokenAcquirerFactory.TokenAcquirerFactory() -> void +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForApp -> Microsoft.Identity.Web.BeforeTokenAcquisitionForApp? +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForTestUser -> Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser? +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.TokenAcquisitionExtensionOptions() -> void Microsoft.Identity.Web.TokenAcquisitionOptions Microsoft.Identity.Web.TokenAcquisitionOptions.CancellationToken.get -> System.Threading.CancellationToken Microsoft.Identity.Web.TokenAcquisitionOptions.CancellationToken.set -> void diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/PublicAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/PublicAPI.Unshipped.txt index 68eb4d560..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/PublicAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net462/PublicAPI.Unshipped.txt @@ -1,9 +0,0 @@ -#nullable enable -const Microsoft.Identity.Web.ClaimConstants.Password = "xms_password" -> string! -const Microsoft.Identity.Web.ClaimConstants.Username = "xms_username" -> string! -Microsoft.Identity.Web.BeforeTokenAcquisitionForApp -Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForApp -> Microsoft.Identity.Web.BeforeTokenAcquisitionForApp? -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForTestUser -> Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser? -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.TokenAcquisitionExtensionOptions() -> void diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/InternalAPI.Shipped.txt index 8f4830af7..08910a8b3 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/InternalAPI.Shipped.txt @@ -183,6 +183,8 @@ Microsoft.Identity.Web.LogMessages Microsoft.Identity.Web.MergedOptions Microsoft.Identity.Web.MergedOptions.AadAuthorityAudience.get -> Microsoft.Identity.Client.AadAuthorityAudience Microsoft.Identity.Web.MergedOptions.AadAuthorityAudience.set -> void +Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? +Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void Microsoft.Identity.Web.MergedOptions.AzureCloudInstance.get -> Microsoft.Identity.Client.AzureCloudInstance Microsoft.Identity.Web.MergedOptions.AzureCloudInstance.set -> void Microsoft.Identity.Web.MergedOptions.AzureRegion.get -> string? @@ -208,6 +210,8 @@ Microsoft.Identity.Web.MergedOptions.MergedOptions() -> void Microsoft.Identity.Web.MergedOptions.MergedWithCca.get -> bool Microsoft.Identity.Web.MergedOptions.MergedWithCca.set -> void Microsoft.Identity.Web.MergedOptions.PrepareAuthorityInstanceForMsal() -> void +Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? +Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.MergedOptions.PreserveAuthority.get -> bool Microsoft.Identity.Web.MergedOptions.PreserveAuthority.set -> void Microsoft.Identity.Web.MergedOptions.RedirectUri.get -> string? @@ -243,6 +247,8 @@ Microsoft.Identity.Web.TokenAcquisition.GetOrBuildManagedIdentityApplicationAsyn Microsoft.Identity.Web.TokenAcquisition.Logger Microsoft.Identity.Web.TokenAcquisition.RemoveAccountAsync(System.Security.Claims.ClaimsPrincipal! user, string? authenticationScheme = null) -> System.Threading.Tasks.Task! Microsoft.Identity.Web.TokenAcquisition.TokenAcquisition(Microsoft.Identity.Web.TokenCacheProviders.IMsalTokenCacheProvider! tokenCacheProvider, Microsoft.Identity.Web.ITokenAcquisitionHost! tokenAcquisitionHost, System.Net.Http.IHttpClientFactory! httpClientFactory, Microsoft.Extensions.Logging.ILogger! logger, System.IServiceProvider! serviceProvider, Microsoft.Identity.Abstractions.ICredentialsLoader! credentialsLoader) -> 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 Microsoft.Identity.Web.Util.Base64UrlHelpers readonly Microsoft.Identity.Web.TokenAcquisition._certificatesObserver -> Microsoft.Identity.Web.Experimental.ICertificatesObserver? readonly Microsoft.Identity.Web.TokenAcquisition._credentialsLoader -> Microsoft.Identity.Abstractions.ICredentialsLoader! @@ -251,6 +257,7 @@ readonly Microsoft.Identity.Web.TokenAcquisition._logger -> Microsoft.Extensions readonly Microsoft.Identity.Web.TokenAcquisition._serviceProvider -> System.IServiceProvider! readonly Microsoft.Identity.Web.TokenAcquisition._tokenAcquisitionHost -> Microsoft.Identity.Web.ITokenAcquisitionHost! readonly Microsoft.Identity.Web.TokenAcquisition._tokenCacheProvider -> Microsoft.Identity.Web.TokenCacheProviders.IMsalTokenCacheProvider! +readonly Microsoft.Identity.Web.TokenAcquisition.tokenAcquisitionExtensionOptionsMonitor -> Microsoft.Extensions.Options.IOptionsMonitor? static Microsoft.Identity.Web.CiamAuthorityHelper.BuildCiamAuthorityIfNeeded(Microsoft.Identity.Abstractions.MicrosoftIdentityApplicationOptions! options) -> void static Microsoft.Identity.Web.ClientInfo.CreateFromJson(string? clientInfo) -> Microsoft.Identity.Web.ClientInfo? static Microsoft.Identity.Web.ClientInfo.DeserializeFromJson(byte[]? jsonByteArray) -> Microsoft.Identity.Web.ClientInfo? @@ -262,6 +269,7 @@ static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logg static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingCertThumbprint(Microsoft.Extensions.Logging.ILogger! logger, string! certThumbprint) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingManagedIdentity(Microsoft.Extensions.Logging.ILogger! logger) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingPodIdentityFile(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionFileDiskPath) -> void +static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingSignedAssertionFromCustomProvider(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionUri) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingSignedAssertionFromVault(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionUri) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.WithClientCredentials(this Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! builder, System.Collections.Generic.IEnumerable! clientCredentials, Microsoft.Extensions.Logging.ILogger! logger, Microsoft.Identity.Abstractions.ICredentialsLoader! credentialsLoader, Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters! credentialSourceLoaderParameters) -> Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.WithClientCredentialsAsync(this Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! builder, System.Collections.Generic.IEnumerable! clientCredentials, Microsoft.Extensions.Logging.ILogger! logger, Microsoft.Identity.Abstractions.ICredentialsLoader! credentialsLoader, Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters? credentialSourceLoaderParameters) -> System.Threading.Tasks.Task! @@ -280,6 +288,7 @@ static Microsoft.Identity.Web.TokenAcquisition.GetCacheKeyForManagedId(Microsoft static Microsoft.Identity.Web.TokenAcquisition.Logger.TokenAcquisitionError(Microsoft.Extensions.Logging.ILogger! logger, string! msalErrorMessage, System.Exception? ex) -> void static Microsoft.Identity.Web.TokenAcquisition.Logger.TokenAcquisitionMsalAuthenticationResultTime(Microsoft.Extensions.Logging.ILogger! logger, long durationTotalInMs, long durationInHttpInMs, long durationInCacheInMs, string! tokenSource, string! correlationId, string! cacheRefreshReason, System.Exception? ex) -> void static Microsoft.Identity.Web.TokenAcquisition.MergeExtraQueryParameters(Microsoft.Identity.Web.MergedOptions! mergedOptions, Microsoft.Identity.Web.TokenAcquisitionOptions! tokenAcquisitionOptions) -> System.Collections.Generic.Dictionary? +static Microsoft.Identity.Web.TokenAcquisition.ResolveTenant(string? tenant, Microsoft.Identity.Web.MergedOptions! mergedOptions) -> string? static Microsoft.Identity.Web.Util.Base64UrlHelpers.Decode(string! arg) -> string? static Microsoft.Identity.Web.Util.Base64UrlHelpers.DecodeBytes(string? str) -> byte[]? static Microsoft.Identity.Web.Util.Base64UrlHelpers.Encode(byte[]? inArray) -> string? @@ -295,4 +304,5 @@ static readonly Microsoft.Identity.Web.LoggingEventId.TokenAcquisitionMsalAuthen static readonly Microsoft.Identity.Web.LoggingEventId.UsingCertThumbprint -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingManagedIdentity -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingPodIdentityFile -> Microsoft.Extensions.Logging.EventId +static readonly Microsoft.Identity.Web.LoggingEventId.UsingSignedAssertionFromCustomProvider -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingSignedAssertionFromVault -> Microsoft.Extensions.Logging.EventId 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 9ee6a81d4..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/InternalAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/InternalAPI.Unshipped.txt @@ -1,9 +0,0 @@ -#nullable enable -Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? -Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> 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? -static Microsoft.Identity.Web.TokenAcquisition.ResolveTenant(string? tenant, Microsoft.Identity.Web.MergedOptions! mergedOptions) -> string? diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/PublicAPI.Shipped.txt index 2fc833600..39f0c4a8c 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/PublicAPI.Shipped.txt @@ -5,6 +5,7 @@ const Microsoft.Identity.Web.ClaimConstants.Name = "name" -> string! const Microsoft.Identity.Web.ClaimConstants.NameIdentifierId = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier" -> string! const Microsoft.Identity.Web.ClaimConstants.ObjectId = "http://schemas.microsoft.com/identity/claims/objectidentifier" -> string! const Microsoft.Identity.Web.ClaimConstants.Oid = "oid" -> string! +const Microsoft.Identity.Web.ClaimConstants.Password = "xms_password" -> string! const Microsoft.Identity.Web.ClaimConstants.PreferredUserName = "preferred_username" -> string! const Microsoft.Identity.Web.ClaimConstants.Role = "http://schemas.microsoft.com/ws/2008/06/identity/claims/role" -> string! const Microsoft.Identity.Web.ClaimConstants.Roles = "roles" -> string! @@ -17,6 +18,7 @@ const Microsoft.Identity.Web.ClaimConstants.Tid = "tid" -> string! const Microsoft.Identity.Web.ClaimConstants.UniqueObjectIdentifier = "uid" -> string! const Microsoft.Identity.Web.ClaimConstants.UniqueTenantIdentifier = "utid" -> string! const Microsoft.Identity.Web.ClaimConstants.UserFlow = "http://schemas.microsoft.com/claims/authnclassreference" -> string! +const Microsoft.Identity.Web.ClaimConstants.Username = "xms_username" -> string! const Microsoft.Identity.Web.Constants.AzureAd = "AzureAd" -> string! const Microsoft.Identity.Web.Constants.AzureAdB2C = "AzureAdB2C" -> string! const Microsoft.Identity.Web.Constants.Bearer = "Bearer" -> string! @@ -29,6 +31,8 @@ const Microsoft.Identity.Web.Constants.ResetPasswordPath = "/MicrosoftIdentity/A const Microsoft.Identity.Web.Constants.ReturnUrl = "ReturnUrl" -> string! const Microsoft.Identity.Web.Constants.Scope = "scope" -> string! const Microsoft.Identity.Web.Constants.SpaAuthCode = "SpaAuthCode" -> string! +Microsoft.Identity.Web.BeforeTokenAcquisitionForApp +Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser Microsoft.Identity.Web.ClaimConstants Microsoft.Identity.Web.Constants Microsoft.Identity.Web.Experimental.CerticateObserverAction @@ -131,6 +135,10 @@ Microsoft.Identity.Web.TokenAcquirerFactory.ServiceProvider.get -> System.IServi Microsoft.Identity.Web.TokenAcquirerFactory.ServiceProvider.set -> void Microsoft.Identity.Web.TokenAcquirerFactory.Services.get -> Microsoft.Extensions.DependencyInjection.ServiceCollection! Microsoft.Identity.Web.TokenAcquirerFactory.TokenAcquirerFactory() -> void +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForApp -> Microsoft.Identity.Web.BeforeTokenAcquisitionForApp? +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForTestUser -> Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser? +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.TokenAcquisitionExtensionOptions() -> void Microsoft.Identity.Web.TokenAcquisitionOptions Microsoft.Identity.Web.TokenAcquisitionOptions.CancellationToken.get -> System.Threading.CancellationToken Microsoft.Identity.Web.TokenAcquisitionOptions.CancellationToken.set -> void diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/PublicAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/PublicAPI.Unshipped.txt index 68eb4d560..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/PublicAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net472/PublicAPI.Unshipped.txt @@ -1,9 +0,0 @@ -#nullable enable -const Microsoft.Identity.Web.ClaimConstants.Password = "xms_password" -> string! -const Microsoft.Identity.Web.ClaimConstants.Username = "xms_username" -> string! -Microsoft.Identity.Web.BeforeTokenAcquisitionForApp -Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForApp -> Microsoft.Identity.Web.BeforeTokenAcquisitionForApp? -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForTestUser -> Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser? -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.TokenAcquisitionExtensionOptions() -> void diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/InternalAPI.Shipped.txt index e41091f82..705b63712 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/InternalAPI.Shipped.txt @@ -187,6 +187,8 @@ Microsoft.Identity.Web.LogMessages Microsoft.Identity.Web.MergedOptions Microsoft.Identity.Web.MergedOptions.AadAuthorityAudience.get -> Microsoft.Identity.Client.AadAuthorityAudience Microsoft.Identity.Web.MergedOptions.AadAuthorityAudience.set -> void +Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? +Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void Microsoft.Identity.Web.MergedOptions.AzureCloudInstance.get -> Microsoft.Identity.Client.AzureCloudInstance Microsoft.Identity.Web.MergedOptions.AzureCloudInstance.set -> void Microsoft.Identity.Web.MergedOptions.AzureRegion.get -> string? @@ -212,6 +214,8 @@ Microsoft.Identity.Web.MergedOptions.MergedOptions() -> void Microsoft.Identity.Web.MergedOptions.MergedWithCca.get -> bool Microsoft.Identity.Web.MergedOptions.MergedWithCca.set -> void Microsoft.Identity.Web.MergedOptions.PrepareAuthorityInstanceForMsal() -> void +Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? +Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.MergedOptions.PreserveAuthority.get -> bool Microsoft.Identity.Web.MergedOptions.PreserveAuthority.set -> void Microsoft.Identity.Web.MergedOptions.RedirectUri.get -> string? @@ -262,6 +266,8 @@ Microsoft.Identity.Web.TokenAcquisitionAspnetCoreHost.GetUserFromRequest() -> Sy Microsoft.Identity.Web.TokenAcquisitionAspnetCoreHost.SetHttpResponse(System.Net.HttpStatusCode statusCode, string! wwwAuthenticate) -> void Microsoft.Identity.Web.TokenAcquisitionAspnetCoreHost.SetSession(string! key, string! value) -> void Microsoft.Identity.Web.TokenAcquisitionAspnetCoreHost.TokenAcquisitionAspnetCoreHost(Microsoft.AspNetCore.Http.IHttpContextAccessor! httpContextAccessor, Microsoft.Identity.Web.IMergedOptionsStore! mergedOptionsMonitor, System.IServiceProvider! serviceProvider) -> 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 Microsoft.Identity.Web.Util.Base64UrlHelpers readonly Microsoft.Identity.Web.TokenAcquisition._certificatesObserver -> Microsoft.Identity.Web.Experimental.ICertificatesObserver? readonly Microsoft.Identity.Web.TokenAcquisition._credentialsLoader -> Microsoft.Identity.Abstractions.ICredentialsLoader! @@ -270,6 +276,7 @@ readonly Microsoft.Identity.Web.TokenAcquisition._logger -> Microsoft.Extensions readonly Microsoft.Identity.Web.TokenAcquisition._serviceProvider -> System.IServiceProvider! readonly Microsoft.Identity.Web.TokenAcquisition._tokenAcquisitionHost -> Microsoft.Identity.Web.ITokenAcquisitionHost! readonly Microsoft.Identity.Web.TokenAcquisition._tokenCacheProvider -> Microsoft.Identity.Web.TokenCacheProviders.IMsalTokenCacheProvider! +readonly Microsoft.Identity.Web.TokenAcquisition.tokenAcquisitionExtensionOptionsMonitor -> Microsoft.Extensions.Options.IOptionsMonitor? static Microsoft.Identity.Web.CiamAuthorityHelper.BuildCiamAuthorityIfNeeded(Microsoft.Identity.Abstractions.MicrosoftIdentityApplicationOptions! options) -> void static Microsoft.Identity.Web.ClientInfo.CreateFromJson(string? clientInfo) -> Microsoft.Identity.Web.ClientInfo? static Microsoft.Identity.Web.ClientInfo.DeserializeFromJson(byte[]? jsonByteArray) -> Microsoft.Identity.Web.ClientInfo? @@ -281,6 +288,7 @@ static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logg static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingCertThumbprint(Microsoft.Extensions.Logging.ILogger! logger, string! certThumbprint) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingManagedIdentity(Microsoft.Extensions.Logging.ILogger! logger) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingPodIdentityFile(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionFileDiskPath) -> void +static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingSignedAssertionFromCustomProvider(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionUri) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingSignedAssertionFromVault(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionUri) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.WithClientCredentials(this Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! builder, System.Collections.Generic.IEnumerable! clientCredentials, Microsoft.Extensions.Logging.ILogger! logger, Microsoft.Identity.Abstractions.ICredentialsLoader! credentialsLoader, Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters! credentialSourceLoaderParameters) -> Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.WithClientCredentialsAsync(this Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! builder, System.Collections.Generic.IEnumerable! clientCredentials, Microsoft.Extensions.Logging.ILogger! logger, Microsoft.Identity.Abstractions.ICredentialsLoader! credentialsLoader, Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters? credentialSourceLoaderParameters) -> System.Threading.Tasks.Task! @@ -302,6 +310,7 @@ static Microsoft.Identity.Web.TokenAcquisition.GetCacheKeyForManagedId(Microsoft static Microsoft.Identity.Web.TokenAcquisition.Logger.TokenAcquisitionError(Microsoft.Extensions.Logging.ILogger! logger, string! msalErrorMessage, System.Exception? ex) -> void static Microsoft.Identity.Web.TokenAcquisition.Logger.TokenAcquisitionMsalAuthenticationResultTime(Microsoft.Extensions.Logging.ILogger! logger, long durationTotalInMs, long durationInHttpInMs, long durationInCacheInMs, string! tokenSource, string! correlationId, string! cacheRefreshReason, System.Exception? ex) -> void static Microsoft.Identity.Web.TokenAcquisition.MergeExtraQueryParameters(Microsoft.Identity.Web.MergedOptions! mergedOptions, Microsoft.Identity.Web.TokenAcquisitionOptions! tokenAcquisitionOptions) -> System.Collections.Generic.Dictionary? +static Microsoft.Identity.Web.TokenAcquisition.ResolveTenant(string? tenant, Microsoft.Identity.Web.MergedOptions! mergedOptions) -> string? static Microsoft.Identity.Web.Util.Base64UrlHelpers.Decode(string! arg) -> string? static Microsoft.Identity.Web.Util.Base64UrlHelpers.DecodeBytes(string? str) -> byte[]? static Microsoft.Identity.Web.Util.Base64UrlHelpers.Encode(byte[]? inArray) -> string? @@ -317,4 +326,5 @@ static readonly Microsoft.Identity.Web.LoggingEventId.TokenAcquisitionMsalAuthen static readonly Microsoft.Identity.Web.LoggingEventId.UsingCertThumbprint -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingManagedIdentity -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingPodIdentityFile -> Microsoft.Extensions.Logging.EventId +static readonly Microsoft.Identity.Web.LoggingEventId.UsingSignedAssertionFromCustomProvider -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingSignedAssertionFromVault -> Microsoft.Extensions.Logging.EventId 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 9ee6a81d4..e69de29bb 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,9 +0,0 @@ -#nullable enable -Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? -Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> 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? -static Microsoft.Identity.Web.TokenAcquisition.ResolveTenant(string? tenant, Microsoft.Identity.Web.MergedOptions! mergedOptions) -> string? diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/PublicAPI.Shipped.txt index f25559f81..df803031a 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/PublicAPI.Shipped.txt @@ -5,6 +5,7 @@ const Microsoft.Identity.Web.ClaimConstants.Name = "name" -> string! const Microsoft.Identity.Web.ClaimConstants.NameIdentifierId = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier" -> string! const Microsoft.Identity.Web.ClaimConstants.ObjectId = "http://schemas.microsoft.com/identity/claims/objectidentifier" -> string! const Microsoft.Identity.Web.ClaimConstants.Oid = "oid" -> string! +const Microsoft.Identity.Web.ClaimConstants.Password = "xms_password" -> string! const Microsoft.Identity.Web.ClaimConstants.PreferredUserName = "preferred_username" -> string! const Microsoft.Identity.Web.ClaimConstants.Role = "http://schemas.microsoft.com/ws/2008/06/identity/claims/role" -> string! const Microsoft.Identity.Web.ClaimConstants.Roles = "roles" -> string! @@ -17,6 +18,7 @@ const Microsoft.Identity.Web.ClaimConstants.Tid = "tid" -> string! const Microsoft.Identity.Web.ClaimConstants.UniqueObjectIdentifier = "uid" -> string! const Microsoft.Identity.Web.ClaimConstants.UniqueTenantIdentifier = "utid" -> string! const Microsoft.Identity.Web.ClaimConstants.UserFlow = "http://schemas.microsoft.com/claims/authnclassreference" -> string! +const Microsoft.Identity.Web.ClaimConstants.Username = "xms_username" -> string! const Microsoft.Identity.Web.Constants.AzureAd = "AzureAd" -> string! const Microsoft.Identity.Web.Constants.AzureAdB2C = "AzureAdB2C" -> string! const Microsoft.Identity.Web.Constants.Bearer = "Bearer" -> string! @@ -30,6 +32,8 @@ const Microsoft.Identity.Web.Constants.ReturnUrl = "ReturnUrl" -> string! const Microsoft.Identity.Web.Constants.Scope = "scope" -> string! const Microsoft.Identity.Web.Constants.SpaAuthCode = "SpaAuthCode" -> string! Microsoft.Identity.Web.ApplicationBuilderExtensions +Microsoft.Identity.Web.BeforeTokenAcquisitionForApp +Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser Microsoft.Identity.Web.ClaimConstants Microsoft.Identity.Web.Constants Microsoft.Identity.Web.Experimental.CerticateObserverAction @@ -131,6 +135,10 @@ Microsoft.Identity.Web.TokenAcquirerFactory.ServiceProvider.get -> System.IServi Microsoft.Identity.Web.TokenAcquirerFactory.ServiceProvider.set -> void Microsoft.Identity.Web.TokenAcquirerFactory.Services.get -> Microsoft.Extensions.DependencyInjection.ServiceCollection! Microsoft.Identity.Web.TokenAcquirerFactory.TokenAcquirerFactory() -> void +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForApp -> Microsoft.Identity.Web.BeforeTokenAcquisitionForApp? +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForTestUser -> Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser? +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.TokenAcquisitionExtensionOptions() -> void Microsoft.Identity.Web.TokenAcquisitionOptions Microsoft.Identity.Web.TokenAcquisitionOptions.CancellationToken.get -> System.Threading.CancellationToken Microsoft.Identity.Web.TokenAcquisitionOptions.CancellationToken.set -> void diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/PublicAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/PublicAPI.Unshipped.txt index 68eb4d560..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/PublicAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net6.0/PublicAPI.Unshipped.txt @@ -1,9 +0,0 @@ -#nullable enable -const Microsoft.Identity.Web.ClaimConstants.Password = "xms_password" -> string! -const Microsoft.Identity.Web.ClaimConstants.Username = "xms_username" -> string! -Microsoft.Identity.Web.BeforeTokenAcquisitionForApp -Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForApp -> Microsoft.Identity.Web.BeforeTokenAcquisitionForApp? -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForTestUser -> Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser? -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.TokenAcquisitionExtensionOptions() -> void diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/InternalAPI.Shipped.txt index 9e074ac29..a4236b121 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/InternalAPI.Shipped.txt @@ -187,6 +187,8 @@ Microsoft.Identity.Web.LogMessages Microsoft.Identity.Web.MergedOptions Microsoft.Identity.Web.MergedOptions.AadAuthorityAudience.get -> Microsoft.Identity.Client.AadAuthorityAudience Microsoft.Identity.Web.MergedOptions.AadAuthorityAudience.set -> void +Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? +Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void Microsoft.Identity.Web.MergedOptions.AzureCloudInstance.get -> Microsoft.Identity.Client.AzureCloudInstance Microsoft.Identity.Web.MergedOptions.AzureCloudInstance.set -> void Microsoft.Identity.Web.MergedOptions.AzureRegion.get -> string? @@ -212,6 +214,8 @@ Microsoft.Identity.Web.MergedOptions.MergedOptions() -> void Microsoft.Identity.Web.MergedOptions.MergedWithCca.get -> bool Microsoft.Identity.Web.MergedOptions.MergedWithCca.set -> void Microsoft.Identity.Web.MergedOptions.PrepareAuthorityInstanceForMsal() -> void +Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? +Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.MergedOptions.PreserveAuthority.get -> bool Microsoft.Identity.Web.MergedOptions.PreserveAuthority.set -> void Microsoft.Identity.Web.MergedOptions.RedirectUri.get -> string? @@ -262,6 +266,8 @@ Microsoft.Identity.Web.TokenAcquisitionAspnetCoreHost.GetUserFromRequest() -> Sy Microsoft.Identity.Web.TokenAcquisitionAspnetCoreHost.SetHttpResponse(System.Net.HttpStatusCode statusCode, string! wwwAuthenticate) -> void Microsoft.Identity.Web.TokenAcquisitionAspnetCoreHost.SetSession(string! key, string! value) -> void Microsoft.Identity.Web.TokenAcquisitionAspnetCoreHost.TokenAcquisitionAspnetCoreHost(Microsoft.AspNetCore.Http.IHttpContextAccessor! httpContextAccessor, Microsoft.Identity.Web.IMergedOptionsStore! mergedOptionsMonitor, System.IServiceProvider! serviceProvider) -> 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 Microsoft.Identity.Web.Util.Base64UrlHelpers readonly Microsoft.Identity.Web.TokenAcquisition._certificatesObserver -> Microsoft.Identity.Web.Experimental.ICertificatesObserver? readonly Microsoft.Identity.Web.TokenAcquisition._credentialsLoader -> Microsoft.Identity.Abstractions.ICredentialsLoader! @@ -270,6 +276,7 @@ readonly Microsoft.Identity.Web.TokenAcquisition._logger -> Microsoft.Extensions readonly Microsoft.Identity.Web.TokenAcquisition._serviceProvider -> System.IServiceProvider! readonly Microsoft.Identity.Web.TokenAcquisition._tokenAcquisitionHost -> Microsoft.Identity.Web.ITokenAcquisitionHost! readonly Microsoft.Identity.Web.TokenAcquisition._tokenCacheProvider -> Microsoft.Identity.Web.TokenCacheProviders.IMsalTokenCacheProvider! +readonly Microsoft.Identity.Web.TokenAcquisition.tokenAcquisitionExtensionOptionsMonitor -> Microsoft.Extensions.Options.IOptionsMonitor? static Microsoft.Identity.Web.CiamAuthorityHelper.BuildCiamAuthorityIfNeeded(Microsoft.Identity.Abstractions.MicrosoftIdentityApplicationOptions! options) -> void static Microsoft.Identity.Web.ClientInfo.CreateFromJson(string? clientInfo) -> Microsoft.Identity.Web.ClientInfo? static Microsoft.Identity.Web.ClientInfo.DeserializeFromJson(byte[]? jsonByteArray) -> Microsoft.Identity.Web.ClientInfo? @@ -281,6 +288,7 @@ static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logg static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingCertThumbprint(Microsoft.Extensions.Logging.ILogger! logger, string! certThumbprint) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingManagedIdentity(Microsoft.Extensions.Logging.ILogger! logger) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingPodIdentityFile(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionFileDiskPath) -> void +static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingSignedAssertionFromCustomProvider(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionUri) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingSignedAssertionFromVault(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionUri) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.WithClientCredentials(this Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! builder, System.Collections.Generic.IEnumerable! clientCredentials, Microsoft.Extensions.Logging.ILogger! logger, Microsoft.Identity.Abstractions.ICredentialsLoader! credentialsLoader, Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters! credentialSourceLoaderParameters) -> Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.WithClientCredentialsAsync(this Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! builder, System.Collections.Generic.IEnumerable! clientCredentials, Microsoft.Extensions.Logging.ILogger! logger, Microsoft.Identity.Abstractions.ICredentialsLoader! credentialsLoader, Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters? credentialSourceLoaderParameters) -> System.Threading.Tasks.Task! @@ -302,6 +310,7 @@ static Microsoft.Identity.Web.TokenAcquisition.GetCacheKeyForManagedId(Microsoft static Microsoft.Identity.Web.TokenAcquisition.Logger.TokenAcquisitionError(Microsoft.Extensions.Logging.ILogger! logger, string! msalErrorMessage, System.Exception? ex) -> void static Microsoft.Identity.Web.TokenAcquisition.Logger.TokenAcquisitionMsalAuthenticationResultTime(Microsoft.Extensions.Logging.ILogger! logger, long durationTotalInMs, long durationInHttpInMs, long durationInCacheInMs, string! tokenSource, string! correlationId, string! cacheRefreshReason, System.Exception? ex) -> void static Microsoft.Identity.Web.TokenAcquisition.MergeExtraQueryParameters(Microsoft.Identity.Web.MergedOptions! mergedOptions, Microsoft.Identity.Web.TokenAcquisitionOptions! tokenAcquisitionOptions) -> System.Collections.Generic.Dictionary? +static Microsoft.Identity.Web.TokenAcquisition.ResolveTenant(string? tenant, Microsoft.Identity.Web.MergedOptions! mergedOptions) -> string? static Microsoft.Identity.Web.Util.Base64UrlHelpers.Decode(string! arg) -> string? static Microsoft.Identity.Web.Util.Base64UrlHelpers.DecodeBytes(string? str) -> byte[]? static Microsoft.Identity.Web.Util.Base64UrlHelpers.Encode(byte[]? inArray) -> string? @@ -317,4 +326,5 @@ static readonly Microsoft.Identity.Web.LoggingEventId.TokenAcquisitionMsalAuthen static readonly Microsoft.Identity.Web.LoggingEventId.UsingCertThumbprint -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingManagedIdentity -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingPodIdentityFile -> Microsoft.Extensions.Logging.EventId +static readonly Microsoft.Identity.Web.LoggingEventId.UsingSignedAssertionFromCustomProvider -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingSignedAssertionFromVault -> Microsoft.Extensions.Logging.EventId 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 9ee6a81d4..e69de29bb 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,9 +0,0 @@ -#nullable enable -Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? -Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> 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? -static Microsoft.Identity.Web.TokenAcquisition.ResolveTenant(string? tenant, Microsoft.Identity.Web.MergedOptions! mergedOptions) -> string? diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/PublicAPI.Shipped.txt index f25559f81..df803031a 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/PublicAPI.Shipped.txt @@ -5,6 +5,7 @@ const Microsoft.Identity.Web.ClaimConstants.Name = "name" -> string! const Microsoft.Identity.Web.ClaimConstants.NameIdentifierId = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier" -> string! const Microsoft.Identity.Web.ClaimConstants.ObjectId = "http://schemas.microsoft.com/identity/claims/objectidentifier" -> string! const Microsoft.Identity.Web.ClaimConstants.Oid = "oid" -> string! +const Microsoft.Identity.Web.ClaimConstants.Password = "xms_password" -> string! const Microsoft.Identity.Web.ClaimConstants.PreferredUserName = "preferred_username" -> string! const Microsoft.Identity.Web.ClaimConstants.Role = "http://schemas.microsoft.com/ws/2008/06/identity/claims/role" -> string! const Microsoft.Identity.Web.ClaimConstants.Roles = "roles" -> string! @@ -17,6 +18,7 @@ const Microsoft.Identity.Web.ClaimConstants.Tid = "tid" -> string! const Microsoft.Identity.Web.ClaimConstants.UniqueObjectIdentifier = "uid" -> string! const Microsoft.Identity.Web.ClaimConstants.UniqueTenantIdentifier = "utid" -> string! const Microsoft.Identity.Web.ClaimConstants.UserFlow = "http://schemas.microsoft.com/claims/authnclassreference" -> string! +const Microsoft.Identity.Web.ClaimConstants.Username = "xms_username" -> string! const Microsoft.Identity.Web.Constants.AzureAd = "AzureAd" -> string! const Microsoft.Identity.Web.Constants.AzureAdB2C = "AzureAdB2C" -> string! const Microsoft.Identity.Web.Constants.Bearer = "Bearer" -> string! @@ -30,6 +32,8 @@ const Microsoft.Identity.Web.Constants.ReturnUrl = "ReturnUrl" -> string! const Microsoft.Identity.Web.Constants.Scope = "scope" -> string! const Microsoft.Identity.Web.Constants.SpaAuthCode = "SpaAuthCode" -> string! Microsoft.Identity.Web.ApplicationBuilderExtensions +Microsoft.Identity.Web.BeforeTokenAcquisitionForApp +Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser Microsoft.Identity.Web.ClaimConstants Microsoft.Identity.Web.Constants Microsoft.Identity.Web.Experimental.CerticateObserverAction @@ -131,6 +135,10 @@ Microsoft.Identity.Web.TokenAcquirerFactory.ServiceProvider.get -> System.IServi Microsoft.Identity.Web.TokenAcquirerFactory.ServiceProvider.set -> void Microsoft.Identity.Web.TokenAcquirerFactory.Services.get -> Microsoft.Extensions.DependencyInjection.ServiceCollection! Microsoft.Identity.Web.TokenAcquirerFactory.TokenAcquirerFactory() -> void +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForApp -> Microsoft.Identity.Web.BeforeTokenAcquisitionForApp? +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForTestUser -> Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser? +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.TokenAcquisitionExtensionOptions() -> void Microsoft.Identity.Web.TokenAcquisitionOptions Microsoft.Identity.Web.TokenAcquisitionOptions.CancellationToken.get -> System.Threading.CancellationToken Microsoft.Identity.Web.TokenAcquisitionOptions.CancellationToken.set -> void diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/PublicAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/PublicAPI.Unshipped.txt index 68eb4d560..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/PublicAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net7.0/PublicAPI.Unshipped.txt @@ -1,9 +0,0 @@ -#nullable enable -const Microsoft.Identity.Web.ClaimConstants.Password = "xms_password" -> string! -const Microsoft.Identity.Web.ClaimConstants.Username = "xms_username" -> string! -Microsoft.Identity.Web.BeforeTokenAcquisitionForApp -Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForApp -> Microsoft.Identity.Web.BeforeTokenAcquisitionForApp? -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForTestUser -> Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser? -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.TokenAcquisitionExtensionOptions() -> void diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/InternalAPI.Shipped.txt index 9e074ac29..a4236b121 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/InternalAPI.Shipped.txt @@ -187,6 +187,8 @@ Microsoft.Identity.Web.LogMessages Microsoft.Identity.Web.MergedOptions Microsoft.Identity.Web.MergedOptions.AadAuthorityAudience.get -> Microsoft.Identity.Client.AadAuthorityAudience Microsoft.Identity.Web.MergedOptions.AadAuthorityAudience.set -> void +Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? +Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void Microsoft.Identity.Web.MergedOptions.AzureCloudInstance.get -> Microsoft.Identity.Client.AzureCloudInstance Microsoft.Identity.Web.MergedOptions.AzureCloudInstance.set -> void Microsoft.Identity.Web.MergedOptions.AzureRegion.get -> string? @@ -212,6 +214,8 @@ Microsoft.Identity.Web.MergedOptions.MergedOptions() -> void Microsoft.Identity.Web.MergedOptions.MergedWithCca.get -> bool Microsoft.Identity.Web.MergedOptions.MergedWithCca.set -> void Microsoft.Identity.Web.MergedOptions.PrepareAuthorityInstanceForMsal() -> void +Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? +Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.MergedOptions.PreserveAuthority.get -> bool Microsoft.Identity.Web.MergedOptions.PreserveAuthority.set -> void Microsoft.Identity.Web.MergedOptions.RedirectUri.get -> string? @@ -262,6 +266,8 @@ Microsoft.Identity.Web.TokenAcquisitionAspnetCoreHost.GetUserFromRequest() -> Sy Microsoft.Identity.Web.TokenAcquisitionAspnetCoreHost.SetHttpResponse(System.Net.HttpStatusCode statusCode, string! wwwAuthenticate) -> void Microsoft.Identity.Web.TokenAcquisitionAspnetCoreHost.SetSession(string! key, string! value) -> void Microsoft.Identity.Web.TokenAcquisitionAspnetCoreHost.TokenAcquisitionAspnetCoreHost(Microsoft.AspNetCore.Http.IHttpContextAccessor! httpContextAccessor, Microsoft.Identity.Web.IMergedOptionsStore! mergedOptionsMonitor, System.IServiceProvider! serviceProvider) -> 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 Microsoft.Identity.Web.Util.Base64UrlHelpers readonly Microsoft.Identity.Web.TokenAcquisition._certificatesObserver -> Microsoft.Identity.Web.Experimental.ICertificatesObserver? readonly Microsoft.Identity.Web.TokenAcquisition._credentialsLoader -> Microsoft.Identity.Abstractions.ICredentialsLoader! @@ -270,6 +276,7 @@ readonly Microsoft.Identity.Web.TokenAcquisition._logger -> Microsoft.Extensions readonly Microsoft.Identity.Web.TokenAcquisition._serviceProvider -> System.IServiceProvider! readonly Microsoft.Identity.Web.TokenAcquisition._tokenAcquisitionHost -> Microsoft.Identity.Web.ITokenAcquisitionHost! readonly Microsoft.Identity.Web.TokenAcquisition._tokenCacheProvider -> Microsoft.Identity.Web.TokenCacheProviders.IMsalTokenCacheProvider! +readonly Microsoft.Identity.Web.TokenAcquisition.tokenAcquisitionExtensionOptionsMonitor -> Microsoft.Extensions.Options.IOptionsMonitor? static Microsoft.Identity.Web.CiamAuthorityHelper.BuildCiamAuthorityIfNeeded(Microsoft.Identity.Abstractions.MicrosoftIdentityApplicationOptions! options) -> void static Microsoft.Identity.Web.ClientInfo.CreateFromJson(string? clientInfo) -> Microsoft.Identity.Web.ClientInfo? static Microsoft.Identity.Web.ClientInfo.DeserializeFromJson(byte[]? jsonByteArray) -> Microsoft.Identity.Web.ClientInfo? @@ -281,6 +288,7 @@ static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logg static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingCertThumbprint(Microsoft.Extensions.Logging.ILogger! logger, string! certThumbprint) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingManagedIdentity(Microsoft.Extensions.Logging.ILogger! logger) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingPodIdentityFile(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionFileDiskPath) -> void +static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingSignedAssertionFromCustomProvider(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionUri) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingSignedAssertionFromVault(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionUri) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.WithClientCredentials(this Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! builder, System.Collections.Generic.IEnumerable! clientCredentials, Microsoft.Extensions.Logging.ILogger! logger, Microsoft.Identity.Abstractions.ICredentialsLoader! credentialsLoader, Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters! credentialSourceLoaderParameters) -> Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.WithClientCredentialsAsync(this Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! builder, System.Collections.Generic.IEnumerable! clientCredentials, Microsoft.Extensions.Logging.ILogger! logger, Microsoft.Identity.Abstractions.ICredentialsLoader! credentialsLoader, Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters? credentialSourceLoaderParameters) -> System.Threading.Tasks.Task! @@ -302,6 +310,7 @@ static Microsoft.Identity.Web.TokenAcquisition.GetCacheKeyForManagedId(Microsoft static Microsoft.Identity.Web.TokenAcquisition.Logger.TokenAcquisitionError(Microsoft.Extensions.Logging.ILogger! logger, string! msalErrorMessage, System.Exception? ex) -> void static Microsoft.Identity.Web.TokenAcquisition.Logger.TokenAcquisitionMsalAuthenticationResultTime(Microsoft.Extensions.Logging.ILogger! logger, long durationTotalInMs, long durationInHttpInMs, long durationInCacheInMs, string! tokenSource, string! correlationId, string! cacheRefreshReason, System.Exception? ex) -> void static Microsoft.Identity.Web.TokenAcquisition.MergeExtraQueryParameters(Microsoft.Identity.Web.MergedOptions! mergedOptions, Microsoft.Identity.Web.TokenAcquisitionOptions! tokenAcquisitionOptions) -> System.Collections.Generic.Dictionary? +static Microsoft.Identity.Web.TokenAcquisition.ResolveTenant(string? tenant, Microsoft.Identity.Web.MergedOptions! mergedOptions) -> string? static Microsoft.Identity.Web.Util.Base64UrlHelpers.Decode(string! arg) -> string? static Microsoft.Identity.Web.Util.Base64UrlHelpers.DecodeBytes(string? str) -> byte[]? static Microsoft.Identity.Web.Util.Base64UrlHelpers.Encode(byte[]? inArray) -> string? @@ -317,4 +326,5 @@ static readonly Microsoft.Identity.Web.LoggingEventId.TokenAcquisitionMsalAuthen static readonly Microsoft.Identity.Web.LoggingEventId.UsingCertThumbprint -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingManagedIdentity -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingPodIdentityFile -> Microsoft.Extensions.Logging.EventId +static readonly Microsoft.Identity.Web.LoggingEventId.UsingSignedAssertionFromCustomProvider -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingSignedAssertionFromVault -> Microsoft.Extensions.Logging.EventId 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 9ee6a81d4..e69de29bb 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,9 +0,0 @@ -#nullable enable -Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? -Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> 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? -static Microsoft.Identity.Web.TokenAcquisition.ResolveTenant(string? tenant, Microsoft.Identity.Web.MergedOptions! mergedOptions) -> string? diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/PublicAPI.Shipped.txt index f25559f81..df803031a 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/PublicAPI.Shipped.txt @@ -5,6 +5,7 @@ const Microsoft.Identity.Web.ClaimConstants.Name = "name" -> string! const Microsoft.Identity.Web.ClaimConstants.NameIdentifierId = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier" -> string! const Microsoft.Identity.Web.ClaimConstants.ObjectId = "http://schemas.microsoft.com/identity/claims/objectidentifier" -> string! const Microsoft.Identity.Web.ClaimConstants.Oid = "oid" -> string! +const Microsoft.Identity.Web.ClaimConstants.Password = "xms_password" -> string! const Microsoft.Identity.Web.ClaimConstants.PreferredUserName = "preferred_username" -> string! const Microsoft.Identity.Web.ClaimConstants.Role = "http://schemas.microsoft.com/ws/2008/06/identity/claims/role" -> string! const Microsoft.Identity.Web.ClaimConstants.Roles = "roles" -> string! @@ -17,6 +18,7 @@ const Microsoft.Identity.Web.ClaimConstants.Tid = "tid" -> string! const Microsoft.Identity.Web.ClaimConstants.UniqueObjectIdentifier = "uid" -> string! const Microsoft.Identity.Web.ClaimConstants.UniqueTenantIdentifier = "utid" -> string! const Microsoft.Identity.Web.ClaimConstants.UserFlow = "http://schemas.microsoft.com/claims/authnclassreference" -> string! +const Microsoft.Identity.Web.ClaimConstants.Username = "xms_username" -> string! const Microsoft.Identity.Web.Constants.AzureAd = "AzureAd" -> string! const Microsoft.Identity.Web.Constants.AzureAdB2C = "AzureAdB2C" -> string! const Microsoft.Identity.Web.Constants.Bearer = "Bearer" -> string! @@ -30,6 +32,8 @@ const Microsoft.Identity.Web.Constants.ReturnUrl = "ReturnUrl" -> string! const Microsoft.Identity.Web.Constants.Scope = "scope" -> string! const Microsoft.Identity.Web.Constants.SpaAuthCode = "SpaAuthCode" -> string! Microsoft.Identity.Web.ApplicationBuilderExtensions +Microsoft.Identity.Web.BeforeTokenAcquisitionForApp +Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser Microsoft.Identity.Web.ClaimConstants Microsoft.Identity.Web.Constants Microsoft.Identity.Web.Experimental.CerticateObserverAction @@ -131,6 +135,10 @@ Microsoft.Identity.Web.TokenAcquirerFactory.ServiceProvider.get -> System.IServi Microsoft.Identity.Web.TokenAcquirerFactory.ServiceProvider.set -> void Microsoft.Identity.Web.TokenAcquirerFactory.Services.get -> Microsoft.Extensions.DependencyInjection.ServiceCollection! Microsoft.Identity.Web.TokenAcquirerFactory.TokenAcquirerFactory() -> void +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForApp -> Microsoft.Identity.Web.BeforeTokenAcquisitionForApp? +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForTestUser -> Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser? +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.TokenAcquisitionExtensionOptions() -> void Microsoft.Identity.Web.TokenAcquisitionOptions Microsoft.Identity.Web.TokenAcquisitionOptions.CancellationToken.get -> System.Threading.CancellationToken Microsoft.Identity.Web.TokenAcquisitionOptions.CancellationToken.set -> void diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/PublicAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/PublicAPI.Unshipped.txt index 68eb4d560..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/PublicAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net8.0/PublicAPI.Unshipped.txt @@ -1,9 +0,0 @@ -#nullable enable -const Microsoft.Identity.Web.ClaimConstants.Password = "xms_password" -> string! -const Microsoft.Identity.Web.ClaimConstants.Username = "xms_username" -> string! -Microsoft.Identity.Web.BeforeTokenAcquisitionForApp -Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForApp -> Microsoft.Identity.Web.BeforeTokenAcquisitionForApp? -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForTestUser -> Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser? -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.TokenAcquisitionExtensionOptions() -> void diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/InternalAPI.Shipped.txt index 9e074ac29..a4236b121 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/InternalAPI.Shipped.txt @@ -187,6 +187,8 @@ Microsoft.Identity.Web.LogMessages Microsoft.Identity.Web.MergedOptions Microsoft.Identity.Web.MergedOptions.AadAuthorityAudience.get -> Microsoft.Identity.Client.AadAuthorityAudience Microsoft.Identity.Web.MergedOptions.AadAuthorityAudience.set -> void +Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? +Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void Microsoft.Identity.Web.MergedOptions.AzureCloudInstance.get -> Microsoft.Identity.Client.AzureCloudInstance Microsoft.Identity.Web.MergedOptions.AzureCloudInstance.set -> void Microsoft.Identity.Web.MergedOptions.AzureRegion.get -> string? @@ -212,6 +214,8 @@ Microsoft.Identity.Web.MergedOptions.MergedOptions() -> void Microsoft.Identity.Web.MergedOptions.MergedWithCca.get -> bool Microsoft.Identity.Web.MergedOptions.MergedWithCca.set -> void Microsoft.Identity.Web.MergedOptions.PrepareAuthorityInstanceForMsal() -> void +Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? +Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.MergedOptions.PreserveAuthority.get -> bool Microsoft.Identity.Web.MergedOptions.PreserveAuthority.set -> void Microsoft.Identity.Web.MergedOptions.RedirectUri.get -> string? @@ -262,6 +266,8 @@ Microsoft.Identity.Web.TokenAcquisitionAspnetCoreHost.GetUserFromRequest() -> Sy Microsoft.Identity.Web.TokenAcquisitionAspnetCoreHost.SetHttpResponse(System.Net.HttpStatusCode statusCode, string! wwwAuthenticate) -> void Microsoft.Identity.Web.TokenAcquisitionAspnetCoreHost.SetSession(string! key, string! value) -> void Microsoft.Identity.Web.TokenAcquisitionAspnetCoreHost.TokenAcquisitionAspnetCoreHost(Microsoft.AspNetCore.Http.IHttpContextAccessor! httpContextAccessor, Microsoft.Identity.Web.IMergedOptionsStore! mergedOptionsMonitor, System.IServiceProvider! serviceProvider) -> 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 Microsoft.Identity.Web.Util.Base64UrlHelpers readonly Microsoft.Identity.Web.TokenAcquisition._certificatesObserver -> Microsoft.Identity.Web.Experimental.ICertificatesObserver? readonly Microsoft.Identity.Web.TokenAcquisition._credentialsLoader -> Microsoft.Identity.Abstractions.ICredentialsLoader! @@ -270,6 +276,7 @@ readonly Microsoft.Identity.Web.TokenAcquisition._logger -> Microsoft.Extensions readonly Microsoft.Identity.Web.TokenAcquisition._serviceProvider -> System.IServiceProvider! readonly Microsoft.Identity.Web.TokenAcquisition._tokenAcquisitionHost -> Microsoft.Identity.Web.ITokenAcquisitionHost! readonly Microsoft.Identity.Web.TokenAcquisition._tokenCacheProvider -> Microsoft.Identity.Web.TokenCacheProviders.IMsalTokenCacheProvider! +readonly Microsoft.Identity.Web.TokenAcquisition.tokenAcquisitionExtensionOptionsMonitor -> Microsoft.Extensions.Options.IOptionsMonitor? static Microsoft.Identity.Web.CiamAuthorityHelper.BuildCiamAuthorityIfNeeded(Microsoft.Identity.Abstractions.MicrosoftIdentityApplicationOptions! options) -> void static Microsoft.Identity.Web.ClientInfo.CreateFromJson(string? clientInfo) -> Microsoft.Identity.Web.ClientInfo? static Microsoft.Identity.Web.ClientInfo.DeserializeFromJson(byte[]? jsonByteArray) -> Microsoft.Identity.Web.ClientInfo? @@ -281,6 +288,7 @@ static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logg static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingCertThumbprint(Microsoft.Extensions.Logging.ILogger! logger, string! certThumbprint) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingManagedIdentity(Microsoft.Extensions.Logging.ILogger! logger) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingPodIdentityFile(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionFileDiskPath) -> void +static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingSignedAssertionFromCustomProvider(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionUri) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingSignedAssertionFromVault(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionUri) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.WithClientCredentials(this Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! builder, System.Collections.Generic.IEnumerable! clientCredentials, Microsoft.Extensions.Logging.ILogger! logger, Microsoft.Identity.Abstractions.ICredentialsLoader! credentialsLoader, Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters! credentialSourceLoaderParameters) -> Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.WithClientCredentialsAsync(this Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! builder, System.Collections.Generic.IEnumerable! clientCredentials, Microsoft.Extensions.Logging.ILogger! logger, Microsoft.Identity.Abstractions.ICredentialsLoader! credentialsLoader, Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters? credentialSourceLoaderParameters) -> System.Threading.Tasks.Task! @@ -302,6 +310,7 @@ static Microsoft.Identity.Web.TokenAcquisition.GetCacheKeyForManagedId(Microsoft static Microsoft.Identity.Web.TokenAcquisition.Logger.TokenAcquisitionError(Microsoft.Extensions.Logging.ILogger! logger, string! msalErrorMessage, System.Exception? ex) -> void static Microsoft.Identity.Web.TokenAcquisition.Logger.TokenAcquisitionMsalAuthenticationResultTime(Microsoft.Extensions.Logging.ILogger! logger, long durationTotalInMs, long durationInHttpInMs, long durationInCacheInMs, string! tokenSource, string! correlationId, string! cacheRefreshReason, System.Exception? ex) -> void static Microsoft.Identity.Web.TokenAcquisition.MergeExtraQueryParameters(Microsoft.Identity.Web.MergedOptions! mergedOptions, Microsoft.Identity.Web.TokenAcquisitionOptions! tokenAcquisitionOptions) -> System.Collections.Generic.Dictionary? +static Microsoft.Identity.Web.TokenAcquisition.ResolveTenant(string? tenant, Microsoft.Identity.Web.MergedOptions! mergedOptions) -> string? static Microsoft.Identity.Web.Util.Base64UrlHelpers.Decode(string! arg) -> string? static Microsoft.Identity.Web.Util.Base64UrlHelpers.DecodeBytes(string? str) -> byte[]? static Microsoft.Identity.Web.Util.Base64UrlHelpers.Encode(byte[]? inArray) -> string? @@ -317,4 +326,5 @@ static readonly Microsoft.Identity.Web.LoggingEventId.TokenAcquisitionMsalAuthen static readonly Microsoft.Identity.Web.LoggingEventId.UsingCertThumbprint -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingManagedIdentity -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingPodIdentityFile -> Microsoft.Extensions.Logging.EventId +static readonly Microsoft.Identity.Web.LoggingEventId.UsingSignedAssertionFromCustomProvider -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingSignedAssertionFromVault -> Microsoft.Extensions.Logging.EventId 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 9ee6a81d4..e69de29bb 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,9 +0,0 @@ -#nullable enable -Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? -Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> 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? -static Microsoft.Identity.Web.TokenAcquisition.ResolveTenant(string? tenant, Microsoft.Identity.Web.MergedOptions! mergedOptions) -> string? diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/PublicAPI.Shipped.txt index f25559f81..df803031a 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/PublicAPI.Shipped.txt @@ -5,6 +5,7 @@ const Microsoft.Identity.Web.ClaimConstants.Name = "name" -> string! const Microsoft.Identity.Web.ClaimConstants.NameIdentifierId = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier" -> string! const Microsoft.Identity.Web.ClaimConstants.ObjectId = "http://schemas.microsoft.com/identity/claims/objectidentifier" -> string! const Microsoft.Identity.Web.ClaimConstants.Oid = "oid" -> string! +const Microsoft.Identity.Web.ClaimConstants.Password = "xms_password" -> string! const Microsoft.Identity.Web.ClaimConstants.PreferredUserName = "preferred_username" -> string! const Microsoft.Identity.Web.ClaimConstants.Role = "http://schemas.microsoft.com/ws/2008/06/identity/claims/role" -> string! const Microsoft.Identity.Web.ClaimConstants.Roles = "roles" -> string! @@ -17,6 +18,7 @@ const Microsoft.Identity.Web.ClaimConstants.Tid = "tid" -> string! const Microsoft.Identity.Web.ClaimConstants.UniqueObjectIdentifier = "uid" -> string! const Microsoft.Identity.Web.ClaimConstants.UniqueTenantIdentifier = "utid" -> string! const Microsoft.Identity.Web.ClaimConstants.UserFlow = "http://schemas.microsoft.com/claims/authnclassreference" -> string! +const Microsoft.Identity.Web.ClaimConstants.Username = "xms_username" -> string! const Microsoft.Identity.Web.Constants.AzureAd = "AzureAd" -> string! const Microsoft.Identity.Web.Constants.AzureAdB2C = "AzureAdB2C" -> string! const Microsoft.Identity.Web.Constants.Bearer = "Bearer" -> string! @@ -30,6 +32,8 @@ const Microsoft.Identity.Web.Constants.ReturnUrl = "ReturnUrl" -> string! const Microsoft.Identity.Web.Constants.Scope = "scope" -> string! const Microsoft.Identity.Web.Constants.SpaAuthCode = "SpaAuthCode" -> string! Microsoft.Identity.Web.ApplicationBuilderExtensions +Microsoft.Identity.Web.BeforeTokenAcquisitionForApp +Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser Microsoft.Identity.Web.ClaimConstants Microsoft.Identity.Web.Constants Microsoft.Identity.Web.Experimental.CerticateObserverAction @@ -131,6 +135,10 @@ Microsoft.Identity.Web.TokenAcquirerFactory.ServiceProvider.get -> System.IServi Microsoft.Identity.Web.TokenAcquirerFactory.ServiceProvider.set -> void Microsoft.Identity.Web.TokenAcquirerFactory.Services.get -> Microsoft.Extensions.DependencyInjection.ServiceCollection! Microsoft.Identity.Web.TokenAcquirerFactory.TokenAcquirerFactory() -> void +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForApp -> Microsoft.Identity.Web.BeforeTokenAcquisitionForApp? +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForTestUser -> Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser? +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.TokenAcquisitionExtensionOptions() -> void Microsoft.Identity.Web.TokenAcquisitionOptions Microsoft.Identity.Web.TokenAcquisitionOptions.CancellationToken.get -> System.Threading.CancellationToken Microsoft.Identity.Web.TokenAcquisitionOptions.CancellationToken.set -> void diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/PublicAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/PublicAPI.Unshipped.txt index 68eb4d560..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/PublicAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/net9.0/PublicAPI.Unshipped.txt @@ -1,9 +0,0 @@ -#nullable enable -const Microsoft.Identity.Web.ClaimConstants.Password = "xms_password" -> string! -const Microsoft.Identity.Web.ClaimConstants.Username = "xms_username" -> string! -Microsoft.Identity.Web.BeforeTokenAcquisitionForApp -Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForApp -> Microsoft.Identity.Web.BeforeTokenAcquisitionForApp? -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForTestUser -> Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser? -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.TokenAcquisitionExtensionOptions() -> void diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/InternalAPI.Shipped.txt index 8f4830af7..08910a8b3 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/InternalAPI.Shipped.txt @@ -183,6 +183,8 @@ Microsoft.Identity.Web.LogMessages Microsoft.Identity.Web.MergedOptions Microsoft.Identity.Web.MergedOptions.AadAuthorityAudience.get -> Microsoft.Identity.Client.AadAuthorityAudience Microsoft.Identity.Web.MergedOptions.AadAuthorityAudience.set -> void +Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? +Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> void Microsoft.Identity.Web.MergedOptions.AzureCloudInstance.get -> Microsoft.Identity.Client.AzureCloudInstance Microsoft.Identity.Web.MergedOptions.AzureCloudInstance.set -> void Microsoft.Identity.Web.MergedOptions.AzureRegion.get -> string? @@ -208,6 +210,8 @@ Microsoft.Identity.Web.MergedOptions.MergedOptions() -> void Microsoft.Identity.Web.MergedOptions.MergedWithCca.get -> bool Microsoft.Identity.Web.MergedOptions.MergedWithCca.set -> void Microsoft.Identity.Web.MergedOptions.PrepareAuthorityInstanceForMsal() -> void +Microsoft.Identity.Web.MergedOptions.PreparedInstance.get -> string? +Microsoft.Identity.Web.MergedOptions.PreparedInstance.set -> void Microsoft.Identity.Web.MergedOptions.PreserveAuthority.get -> bool Microsoft.Identity.Web.MergedOptions.PreserveAuthority.set -> void Microsoft.Identity.Web.MergedOptions.RedirectUri.get -> string? @@ -243,6 +247,8 @@ Microsoft.Identity.Web.TokenAcquisition.GetOrBuildManagedIdentityApplicationAsyn Microsoft.Identity.Web.TokenAcquisition.Logger Microsoft.Identity.Web.TokenAcquisition.RemoveAccountAsync(System.Security.Claims.ClaimsPrincipal! user, string? authenticationScheme = null) -> System.Threading.Tasks.Task! Microsoft.Identity.Web.TokenAcquisition.TokenAcquisition(Microsoft.Identity.Web.TokenCacheProviders.IMsalTokenCacheProvider! tokenCacheProvider, Microsoft.Identity.Web.ITokenAcquisitionHost! tokenAcquisitionHost, System.Net.Http.IHttpClientFactory! httpClientFactory, Microsoft.Extensions.Logging.ILogger! logger, System.IServiceProvider! serviceProvider, Microsoft.Identity.Abstractions.ICredentialsLoader! credentialsLoader) -> 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 Microsoft.Identity.Web.Util.Base64UrlHelpers readonly Microsoft.Identity.Web.TokenAcquisition._certificatesObserver -> Microsoft.Identity.Web.Experimental.ICertificatesObserver? readonly Microsoft.Identity.Web.TokenAcquisition._credentialsLoader -> Microsoft.Identity.Abstractions.ICredentialsLoader! @@ -251,6 +257,7 @@ readonly Microsoft.Identity.Web.TokenAcquisition._logger -> Microsoft.Extensions readonly Microsoft.Identity.Web.TokenAcquisition._serviceProvider -> System.IServiceProvider! readonly Microsoft.Identity.Web.TokenAcquisition._tokenAcquisitionHost -> Microsoft.Identity.Web.ITokenAcquisitionHost! readonly Microsoft.Identity.Web.TokenAcquisition._tokenCacheProvider -> Microsoft.Identity.Web.TokenCacheProviders.IMsalTokenCacheProvider! +readonly Microsoft.Identity.Web.TokenAcquisition.tokenAcquisitionExtensionOptionsMonitor -> Microsoft.Extensions.Options.IOptionsMonitor? static Microsoft.Identity.Web.CiamAuthorityHelper.BuildCiamAuthorityIfNeeded(Microsoft.Identity.Abstractions.MicrosoftIdentityApplicationOptions! options) -> void static Microsoft.Identity.Web.ClientInfo.CreateFromJson(string? clientInfo) -> Microsoft.Identity.Web.ClientInfo? static Microsoft.Identity.Web.ClientInfo.DeserializeFromJson(byte[]? jsonByteArray) -> Microsoft.Identity.Web.ClientInfo? @@ -262,6 +269,7 @@ static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logg static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingCertThumbprint(Microsoft.Extensions.Logging.ILogger! logger, string! certThumbprint) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingManagedIdentity(Microsoft.Extensions.Logging.ILogger! logger) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingPodIdentityFile(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionFileDiskPath) -> void +static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingSignedAssertionFromCustomProvider(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionUri) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.Logger.UsingSignedAssertionFromVault(Microsoft.Extensions.Logging.ILogger! logger, string! signedAssertionUri) -> void static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.WithClientCredentials(this Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! builder, System.Collections.Generic.IEnumerable! clientCredentials, Microsoft.Extensions.Logging.ILogger! logger, Microsoft.Identity.Abstractions.ICredentialsLoader! credentialsLoader, Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters! credentialSourceLoaderParameters) -> Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! static Microsoft.Identity.Web.ConfidentialClientApplicationBuilderExtension.WithClientCredentialsAsync(this Microsoft.Identity.Client.ConfidentialClientApplicationBuilder! builder, System.Collections.Generic.IEnumerable! clientCredentials, Microsoft.Extensions.Logging.ILogger! logger, Microsoft.Identity.Abstractions.ICredentialsLoader! credentialsLoader, Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters? credentialSourceLoaderParameters) -> System.Threading.Tasks.Task! @@ -280,6 +288,7 @@ static Microsoft.Identity.Web.TokenAcquisition.GetCacheKeyForManagedId(Microsoft static Microsoft.Identity.Web.TokenAcquisition.Logger.TokenAcquisitionError(Microsoft.Extensions.Logging.ILogger! logger, string! msalErrorMessage, System.Exception? ex) -> void static Microsoft.Identity.Web.TokenAcquisition.Logger.TokenAcquisitionMsalAuthenticationResultTime(Microsoft.Extensions.Logging.ILogger! logger, long durationTotalInMs, long durationInHttpInMs, long durationInCacheInMs, string! tokenSource, string! correlationId, string! cacheRefreshReason, System.Exception? ex) -> void static Microsoft.Identity.Web.TokenAcquisition.MergeExtraQueryParameters(Microsoft.Identity.Web.MergedOptions! mergedOptions, Microsoft.Identity.Web.TokenAcquisitionOptions! tokenAcquisitionOptions) -> System.Collections.Generic.Dictionary? +static Microsoft.Identity.Web.TokenAcquisition.ResolveTenant(string? tenant, Microsoft.Identity.Web.MergedOptions! mergedOptions) -> string? static Microsoft.Identity.Web.Util.Base64UrlHelpers.Decode(string! arg) -> string? static Microsoft.Identity.Web.Util.Base64UrlHelpers.DecodeBytes(string? str) -> byte[]? static Microsoft.Identity.Web.Util.Base64UrlHelpers.Encode(byte[]? inArray) -> string? @@ -295,4 +304,5 @@ static readonly Microsoft.Identity.Web.LoggingEventId.TokenAcquisitionMsalAuthen static readonly Microsoft.Identity.Web.LoggingEventId.UsingCertThumbprint -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingManagedIdentity -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingPodIdentityFile -> Microsoft.Extensions.Logging.EventId +static readonly Microsoft.Identity.Web.LoggingEventId.UsingSignedAssertionFromCustomProvider -> Microsoft.Extensions.Logging.EventId static readonly Microsoft.Identity.Web.LoggingEventId.UsingSignedAssertionFromVault -> Microsoft.Extensions.Logging.EventId 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 9ee6a81d4..e69de29bb 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,9 +0,0 @@ -#nullable enable -Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.get -> string? -Microsoft.Identity.Web.MergedOptions.AppHomeTenantId.set -> 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? -static Microsoft.Identity.Web.TokenAcquisition.ResolveTenant(string? tenant, Microsoft.Identity.Web.MergedOptions! mergedOptions) -> string? diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt index 2fc833600..39f0c4a8c 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt @@ -5,6 +5,7 @@ const Microsoft.Identity.Web.ClaimConstants.Name = "name" -> string! const Microsoft.Identity.Web.ClaimConstants.NameIdentifierId = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier" -> string! const Microsoft.Identity.Web.ClaimConstants.ObjectId = "http://schemas.microsoft.com/identity/claims/objectidentifier" -> string! const Microsoft.Identity.Web.ClaimConstants.Oid = "oid" -> string! +const Microsoft.Identity.Web.ClaimConstants.Password = "xms_password" -> string! const Microsoft.Identity.Web.ClaimConstants.PreferredUserName = "preferred_username" -> string! const Microsoft.Identity.Web.ClaimConstants.Role = "http://schemas.microsoft.com/ws/2008/06/identity/claims/role" -> string! const Microsoft.Identity.Web.ClaimConstants.Roles = "roles" -> string! @@ -17,6 +18,7 @@ const Microsoft.Identity.Web.ClaimConstants.Tid = "tid" -> string! const Microsoft.Identity.Web.ClaimConstants.UniqueObjectIdentifier = "uid" -> string! const Microsoft.Identity.Web.ClaimConstants.UniqueTenantIdentifier = "utid" -> string! const Microsoft.Identity.Web.ClaimConstants.UserFlow = "http://schemas.microsoft.com/claims/authnclassreference" -> string! +const Microsoft.Identity.Web.ClaimConstants.Username = "xms_username" -> string! const Microsoft.Identity.Web.Constants.AzureAd = "AzureAd" -> string! const Microsoft.Identity.Web.Constants.AzureAdB2C = "AzureAdB2C" -> string! const Microsoft.Identity.Web.Constants.Bearer = "Bearer" -> string! @@ -29,6 +31,8 @@ const Microsoft.Identity.Web.Constants.ResetPasswordPath = "/MicrosoftIdentity/A const Microsoft.Identity.Web.Constants.ReturnUrl = "ReturnUrl" -> string! const Microsoft.Identity.Web.Constants.Scope = "scope" -> string! const Microsoft.Identity.Web.Constants.SpaAuthCode = "SpaAuthCode" -> string! +Microsoft.Identity.Web.BeforeTokenAcquisitionForApp +Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser Microsoft.Identity.Web.ClaimConstants Microsoft.Identity.Web.Constants Microsoft.Identity.Web.Experimental.CerticateObserverAction @@ -131,6 +135,10 @@ Microsoft.Identity.Web.TokenAcquirerFactory.ServiceProvider.get -> System.IServi Microsoft.Identity.Web.TokenAcquirerFactory.ServiceProvider.set -> void Microsoft.Identity.Web.TokenAcquirerFactory.Services.get -> Microsoft.Extensions.DependencyInjection.ServiceCollection! Microsoft.Identity.Web.TokenAcquirerFactory.TokenAcquirerFactory() -> void +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForApp -> Microsoft.Identity.Web.BeforeTokenAcquisitionForApp? +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForTestUser -> Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser? +Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.TokenAcquisitionExtensionOptions() -> void Microsoft.Identity.Web.TokenAcquisitionOptions Microsoft.Identity.Web.TokenAcquisitionOptions.CancellationToken.get -> System.Threading.CancellationToken Microsoft.Identity.Web.TokenAcquisitionOptions.CancellationToken.set -> void diff --git a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt index dc1044ecc..e69de29bb 100644 --- a/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web.TokenAcquisition/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt @@ -1,8 +0,0 @@ -const Microsoft.Identity.Web.ClaimConstants.Password = "xms_password" -> string! -const Microsoft.Identity.Web.ClaimConstants.Username = "xms_username" -> string! -Microsoft.Identity.Web.BeforeTokenAcquisitionForApp -Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForApp -> Microsoft.Identity.Web.BeforeTokenAcquisitionForApp? -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.OnBeforeTokenAcquisitionForTestUser -> Microsoft.Identity.Web.BeforeTokenAcquisitionForTestUser? -Microsoft.Identity.Web.TokenAcquisitionExtensionOptions.TokenAcquisitionExtensionOptions() -> void diff --git a/src/Microsoft.Identity.Web.TokenCache/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web.TokenCache/PublicAPI.Shipped.txt index 893405212..887990f27 100644 --- a/src/Microsoft.Identity.Web.TokenCache/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web.TokenCache/PublicAPI.Shipped.txt @@ -42,17 +42,17 @@ Microsoft.Identity.Web.TokenCacheProviders.MsalAbstractTokenCacheProvider.Initia Microsoft.Identity.Web.TokenCacheProviders.MsalAbstractTokenCacheProvider.InitializeAsync(Microsoft.Identity.Client.ITokenCache! tokenCache) -> System.Threading.Tasks.Task! Microsoft.Identity.Web.TokenCacheProviders.MsalAbstractTokenCacheProvider.MsalAbstractTokenCacheProvider(Microsoft.AspNetCore.DataProtection.IDataProtector? dataProtector = null) -> void Microsoft.Identity.Web.TokenCacheProviders.MsalAbstractTokenCacheProvider.MsalAbstractTokenCacheProvider(Microsoft.AspNetCore.DataProtection.IDataProtector? dataProtector, Microsoft.Extensions.Logging.ILogger! logger) -> void -override Microsoft.Identity.Web.TokenCacheProviders.Distributed.MsalDistributedTokenCacheAdapter.ReadCacheBytesAsync(string! cacheKey, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints! cacheSerializerHints) -> System.Threading.Tasks.Task! override Microsoft.Identity.Web.TokenCacheProviders.Distributed.MsalDistributedTokenCacheAdapter.ReadCacheBytesAsync(string! cacheKey) -> System.Threading.Tasks.Task! -override Microsoft.Identity.Web.TokenCacheProviders.Distributed.MsalDistributedTokenCacheAdapter.RemoveKeyAsync(string! cacheKey, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints! cacheSerializerHints) -> System.Threading.Tasks.Task! +override Microsoft.Identity.Web.TokenCacheProviders.Distributed.MsalDistributedTokenCacheAdapter.ReadCacheBytesAsync(string! cacheKey, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints! cacheSerializerHints) -> System.Threading.Tasks.Task! override Microsoft.Identity.Web.TokenCacheProviders.Distributed.MsalDistributedTokenCacheAdapter.RemoveKeyAsync(string! cacheKey) -> System.Threading.Tasks.Task! -override Microsoft.Identity.Web.TokenCacheProviders.Distributed.MsalDistributedTokenCacheAdapter.WriteCacheBytesAsync(string! cacheKey, byte[]! bytes, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints? cacheSerializerHints) -> System.Threading.Tasks.Task! +override Microsoft.Identity.Web.TokenCacheProviders.Distributed.MsalDistributedTokenCacheAdapter.RemoveKeyAsync(string! cacheKey, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints! cacheSerializerHints) -> System.Threading.Tasks.Task! override Microsoft.Identity.Web.TokenCacheProviders.Distributed.MsalDistributedTokenCacheAdapter.WriteCacheBytesAsync(string! cacheKey, byte[]! bytes) -> System.Threading.Tasks.Task! -override Microsoft.Identity.Web.TokenCacheProviders.InMemory.MsalMemoryTokenCacheProvider.ReadCacheBytesAsync(string! cacheKey, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints! cacheSerializerHints) -> System.Threading.Tasks.Task! +override Microsoft.Identity.Web.TokenCacheProviders.Distributed.MsalDistributedTokenCacheAdapter.WriteCacheBytesAsync(string! cacheKey, byte[]! bytes, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints? cacheSerializerHints) -> System.Threading.Tasks.Task! override Microsoft.Identity.Web.TokenCacheProviders.InMemory.MsalMemoryTokenCacheProvider.ReadCacheBytesAsync(string! cacheKey) -> System.Threading.Tasks.Task! +override Microsoft.Identity.Web.TokenCacheProviders.InMemory.MsalMemoryTokenCacheProvider.ReadCacheBytesAsync(string! cacheKey, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints! cacheSerializerHints) -> System.Threading.Tasks.Task! override Microsoft.Identity.Web.TokenCacheProviders.InMemory.MsalMemoryTokenCacheProvider.RemoveKeyAsync(string! cacheKey) -> System.Threading.Tasks.Task! -override Microsoft.Identity.Web.TokenCacheProviders.InMemory.MsalMemoryTokenCacheProvider.WriteCacheBytesAsync(string! cacheKey, byte[]! bytes, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints! cacheSerializerHints) -> System.Threading.Tasks.Task! override Microsoft.Identity.Web.TokenCacheProviders.InMemory.MsalMemoryTokenCacheProvider.WriteCacheBytesAsync(string! cacheKey, byte[]! bytes) -> System.Threading.Tasks.Task! +override Microsoft.Identity.Web.TokenCacheProviders.InMemory.MsalMemoryTokenCacheProvider.WriteCacheBytesAsync(string! cacheKey, byte[]! bytes, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints! cacheSerializerHints) -> System.Threading.Tasks.Task! static Microsoft.Identity.Web.ClaimsPrincipalExtensions.GetDisplayName(this System.Security.Claims.ClaimsPrincipal! claimsPrincipal) -> string? static Microsoft.Identity.Web.ClaimsPrincipalExtensions.GetDomainHint(this System.Security.Claims.ClaimsPrincipal! claimsPrincipal) -> string? static Microsoft.Identity.Web.ClaimsPrincipalExtensions.GetHomeObjectId(this System.Security.Claims.ClaimsPrincipal! claimsPrincipal) -> string? @@ -64,8 +64,8 @@ static Microsoft.Identity.Web.ClaimsPrincipalExtensions.GetObjectId(this System. static Microsoft.Identity.Web.ClaimsPrincipalExtensions.GetTenantId(this System.Security.Claims.ClaimsPrincipal! claimsPrincipal) -> string? static Microsoft.Identity.Web.ClaimsPrincipalExtensions.GetUserFlowId(this System.Security.Claims.ClaimsPrincipal! claimsPrincipal) -> string? static Microsoft.Identity.Web.TokenCacheExtensions.AddDistributedTokenCache(this Microsoft.Identity.Client.IConfidentialClientApplication! confidentialClientApp, System.Action! initializeDistributedCache) -> Microsoft.Identity.Client.IConfidentialClientApplication! -static Microsoft.Identity.Web.TokenCacheExtensions.AddInMemoryTokenCache(this Microsoft.Identity.Client.IConfidentialClientApplication! confidentialClientApp, System.Action! initializeMemoryCache) -> Microsoft.Identity.Client.IConfidentialClientApplication! static Microsoft.Identity.Web.TokenCacheExtensions.AddInMemoryTokenCache(this Microsoft.Identity.Client.IConfidentialClientApplication! confidentialClientApp) -> Microsoft.Identity.Client.IConfidentialClientApplication! +static Microsoft.Identity.Web.TokenCacheExtensions.AddInMemoryTokenCache(this Microsoft.Identity.Client.IConfidentialClientApplication! confidentialClientApp, System.Action! initializeMemoryCache) -> Microsoft.Identity.Client.IConfidentialClientApplication! static Microsoft.Identity.Web.TokenCacheProviders.Distributed.DistributedTokenCacheAdapterExtension.AddDistributedTokenCaches(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! static Microsoft.Identity.Web.TokenCacheProviders.InMemory.InMemoryTokenCacheProviderExtension.AddInMemoryTokenCaches(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection! virtual Microsoft.Identity.Web.TokenCacheProviders.MsalAbstractTokenCacheProvider.GetSuggestedCacheKey(Microsoft.Identity.Client.TokenCacheNotificationArgs! args) -> string! diff --git a/src/Microsoft.Identity.Web/PublicAPI/net462/PublicAPI.Unshipped.txt b/src/Microsoft.Identity.Web/PublicAPI/net462/PublicAPI.Unshipped.txt index 7dc5c5811..e69de29bb 100644 --- a/src/Microsoft.Identity.Web/PublicAPI/net462/PublicAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web/PublicAPI/net462/PublicAPI.Unshipped.txt @@ -1 +0,0 @@ -#nullable enable diff --git a/src/Microsoft.Identity.Web/PublicAPI/net472/PublicAPI.Unshipped.txt b/src/Microsoft.Identity.Web/PublicAPI/net472/PublicAPI.Unshipped.txt index 7dc5c5811..e69de29bb 100644 --- a/src/Microsoft.Identity.Web/PublicAPI/net472/PublicAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web/PublicAPI/net472/PublicAPI.Unshipped.txt @@ -1 +0,0 @@ -#nullable enable diff --git a/src/Microsoft.Identity.Web/PublicAPI/net6.0/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web/PublicAPI/net6.0/InternalAPI.Shipped.txt index 83a4aaa43..367e03282 100644 --- a/src/Microsoft.Identity.Web/PublicAPI/net6.0/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web/PublicAPI/net6.0/InternalAPI.Shipped.txt @@ -25,6 +25,8 @@ Microsoft.Identity.Web.AzureADB2COpenIDConnectEventHandlers.OnRedirectToIdentity Microsoft.Identity.Web.AzureADB2COpenIDConnectEventHandlers.OnRemoteFailure(Microsoft.AspNetCore.Authentication.RemoteFailureContext! context) -> System.Threading.Tasks.Task! Microsoft.Identity.Web.AzureADB2COpenIDConnectEventHandlers.Options.get -> Microsoft.Identity.Web.MicrosoftIdentityOptions! Microsoft.Identity.Web.AzureADB2COpenIDConnectEventHandlers.SchemeName.get -> string! +Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException +Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.CustomSignedAssertionProviderNotFoundException(string! message) -> void Microsoft.Identity.Web.DefaultMicrosoftIdentityAuthenticationDelegatingHandlerFactory Microsoft.Identity.Web.DefaultMicrosoftIdentityAuthenticationDelegatingHandlerFactory.CreateAppHandler(string? serviceName) -> System.Net.Http.DelegatingHandler! Microsoft.Identity.Web.DefaultMicrosoftIdentityAuthenticationDelegatingHandlerFactory.CreateUserHandler(string? serviceName) -> System.Net.Http.DelegatingHandler! @@ -80,6 +82,9 @@ static Microsoft.Identity.Web.AuthorityHelpers.BuildCiamAuthorityIfNeeded(string static Microsoft.Identity.Web.AuthorityHelpers.EnsureAuthorityIsV2(string! authority) -> string! static Microsoft.Identity.Web.AuthorityHelpers.GetAuthorityWithoutQueryIfNeeded(Microsoft.Identity.Web.MicrosoftIdentityOptions! options) -> string! static Microsoft.Identity.Web.AuthorizeForScopesAttribute.FindMsalUiRequiredExceptionIfAny(System.Exception! exception) -> Microsoft.Identity.Client.MsalUiRequiredException? +static Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.CustomProviderSourceLoaderNullOrEmpty() -> Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException! +static Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.ProviderNameNotFound(string! name) -> Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException! +static Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.ProviderNameNullOrEmpty() -> Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException! static Microsoft.Identity.Web.Extensions.ContainsAny(this string! searchFor, params string![]! stringCollection) -> bool static Microsoft.Identity.Web.IncrementalConsentAndConditionalAccessHelper.BuildAuthenticationProperties(string![]? scopes, Microsoft.Identity.Client.MsalUiRequiredException! ex, System.Security.Claims.ClaimsPrincipal! user, string? userflow = null) -> Microsoft.AspNetCore.Authentication.AuthenticationProperties! static Microsoft.Identity.Web.IncrementalConsentAndConditionalAccessHelper.CanBeSolvedByReSignInOfUser(Microsoft.Identity.Client.MsalUiRequiredException! ex) -> bool diff --git a/src/Microsoft.Identity.Web/PublicAPI/net6.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web/PublicAPI/net6.0/PublicAPI.Shipped.txt index 968ae27cf..1a22cb571 100644 --- a/src/Microsoft.Identity.Web/PublicAPI/net6.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web/PublicAPI/net6.0/PublicAPI.Shipped.txt @@ -197,8 +197,8 @@ override Microsoft.Identity.Web.TokenAcquisitionAppTokenCredential.GetToken(Azur override Microsoft.Identity.Web.TokenAcquisitionAppTokenCredential.GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask override Microsoft.Identity.Web.TokenAcquisitionTokenCredential.GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken) -> Azure.Core.AccessToken override Microsoft.Identity.Web.TokenAcquisitionTokenCredential.GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask -override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.ReadCacheBytesAsync(string! cacheKey, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints! cacheSerializerHints) -> System.Threading.Tasks.Task! override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.ReadCacheBytesAsync(string! cacheKey) -> System.Threading.Tasks.Task! +override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.ReadCacheBytesAsync(string! cacheKey, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints! cacheSerializerHints) -> System.Threading.Tasks.Task! override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.RemoveKeyAsync(string! cacheKey) -> System.Threading.Tasks.Task! override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.WriteCacheBytesAsync(string! cacheKey, byte[]! bytes) -> System.Threading.Tasks.Task! static Microsoft.Identity.Web.AccountExtensions.ToClaimsPrincipal(this Microsoft.Identity.Client.IAccount! account) -> System.Security.Claims.ClaimsPrincipal! @@ -208,9 +208,10 @@ static Microsoft.Identity.Web.AppServicesAuthenticationInformation.LogoutUrl.get static Microsoft.Identity.Web.AzureFunctionsAuthenticationHttpContextExtension.AuthenticateAzureFunctionAsync(this Microsoft.AspNetCore.Http.HttpContext! httpContext) -> System.Threading.Tasks.Task<(bool, Microsoft.AspNetCore.Mvc.IActionResult?)>! static Microsoft.Identity.Web.ClaimsPrincipalFactory.FromHomeTenantIdAndHomeObjectId(string! homeTenantId, string! homeObjectId) -> System.Security.Claims.ClaimsPrincipal! static Microsoft.Identity.Web.ClaimsPrincipalFactory.FromTenantIdAndObjectId(string! tenantId, string! objectId) -> System.Security.Claims.ClaimsPrincipal! +static Microsoft.Identity.Web.ClaimsPrincipalFactory.FromUsernamePassword(string! username, string! password) -> System.Security.Claims.ClaimsPrincipal! static Microsoft.Identity.Web.CookiePolicyOptionsExtensions.DisallowsSameSiteNone(string! userAgent) -> bool -static Microsoft.Identity.Web.CookiePolicyOptionsExtensions.HandleSameSiteCookieCompatibility(this Microsoft.AspNetCore.Builder.CookiePolicyOptions! options, System.Func! disallowsSameSiteNone) -> Microsoft.AspNetCore.Builder.CookiePolicyOptions! static Microsoft.Identity.Web.CookiePolicyOptionsExtensions.HandleSameSiteCookieCompatibility(this Microsoft.AspNetCore.Builder.CookiePolicyOptions! options) -> Microsoft.AspNetCore.Builder.CookiePolicyOptions! +static Microsoft.Identity.Web.CookiePolicyOptionsExtensions.HandleSameSiteCookieCompatibility(this Microsoft.AspNetCore.Builder.CookiePolicyOptions! options, System.Func! disallowsSameSiteNone) -> Microsoft.AspNetCore.Builder.CookiePolicyOptions! static Microsoft.Identity.Web.DownstreamWebApiExtensions.AddDownstreamWebApi(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! serviceName, Microsoft.Extensions.Configuration.IConfiguration! configuration) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.DownstreamWebApiExtensions.AddDownstreamWebApi(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! serviceName, System.Action! configureOptions) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.DownstreamWebApiGenericExtensions.CallWebApiForUserAsync(this Microsoft.Identity.Web.IDownstreamWebApi! downstreamWebApi, string! serviceName, System.Action? downstreamWebApiOptionsOverride = null, System.Security.Claims.ClaimsPrincipal? user = null, string? authenticationScheme = null) -> System.Threading.Tasks.Task! diff --git a/src/Microsoft.Identity.Web/PublicAPI/net6.0/PublicAPI.Unshipped.txt b/src/Microsoft.Identity.Web/PublicAPI/net6.0/PublicAPI.Unshipped.txt index 1fcf3fa79..e69de29bb 100644 --- a/src/Microsoft.Identity.Web/PublicAPI/net6.0/PublicAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web/PublicAPI/net6.0/PublicAPI.Unshipped.txt @@ -1,2 +0,0 @@ -#nullable enable -static Microsoft.Identity.Web.ClaimsPrincipalFactory.FromUsernamePassword(string! username, string! password) -> System.Security.Claims.ClaimsPrincipal! diff --git a/src/Microsoft.Identity.Web/PublicAPI/net7.0/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web/PublicAPI/net7.0/InternalAPI.Shipped.txt index 1da29166e..4d4a6507f 100644 --- a/src/Microsoft.Identity.Web/PublicAPI/net7.0/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web/PublicAPI/net7.0/InternalAPI.Shipped.txt @@ -25,6 +25,8 @@ Microsoft.Identity.Web.AzureADB2COpenIDConnectEventHandlers.OnRedirectToIdentity Microsoft.Identity.Web.AzureADB2COpenIDConnectEventHandlers.OnRemoteFailure(Microsoft.AspNetCore.Authentication.RemoteFailureContext! context) -> System.Threading.Tasks.Task! Microsoft.Identity.Web.AzureADB2COpenIDConnectEventHandlers.Options.get -> Microsoft.Identity.Web.MicrosoftIdentityOptions! Microsoft.Identity.Web.AzureADB2COpenIDConnectEventHandlers.SchemeName.get -> string! +Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException +Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.CustomSignedAssertionProviderNotFoundException(string! message) -> void Microsoft.Identity.Web.DefaultMicrosoftIdentityAuthenticationDelegatingHandlerFactory Microsoft.Identity.Web.DefaultMicrosoftIdentityAuthenticationDelegatingHandlerFactory.CreateAppHandler(string? serviceName) -> System.Net.Http.DelegatingHandler! Microsoft.Identity.Web.DefaultMicrosoftIdentityAuthenticationDelegatingHandlerFactory.CreateUserHandler(string? serviceName) -> System.Net.Http.DelegatingHandler! @@ -80,6 +82,9 @@ static Microsoft.Identity.Web.AuthorityHelpers.BuildCiamAuthorityIfNeeded(string static Microsoft.Identity.Web.AuthorityHelpers.EnsureAuthorityIsV2(string! authority) -> string! static Microsoft.Identity.Web.AuthorityHelpers.GetAuthorityWithoutQueryIfNeeded(Microsoft.Identity.Web.MicrosoftIdentityOptions! options) -> string! static Microsoft.Identity.Web.AuthorizeForScopesAttribute.FindMsalUiRequiredExceptionIfAny(System.Exception! exception) -> Microsoft.Identity.Client.MsalUiRequiredException? +static Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.CustomProviderSourceLoaderNullOrEmpty() -> Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException! +static Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.ProviderNameNotFound(string! name) -> Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException! +static Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.ProviderNameNullOrEmpty() -> Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException! static Microsoft.Identity.Web.Extensions.ContainsAny(this string! searchFor, params string![]! stringCollection) -> bool static Microsoft.Identity.Web.IncrementalConsentAndConditionalAccessHelper.BuildAuthenticationProperties(string![]? scopes, Microsoft.Identity.Client.MsalUiRequiredException! ex, System.Security.Claims.ClaimsPrincipal! user, string? userflow = null) -> Microsoft.AspNetCore.Authentication.AuthenticationProperties! static Microsoft.Identity.Web.IncrementalConsentAndConditionalAccessHelper.CanBeSolvedByReSignInOfUser(Microsoft.Identity.Client.MsalUiRequiredException! ex) -> bool diff --git a/src/Microsoft.Identity.Web/PublicAPI/net7.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web/PublicAPI/net7.0/PublicAPI.Shipped.txt index 968ae27cf..1a22cb571 100644 --- a/src/Microsoft.Identity.Web/PublicAPI/net7.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web/PublicAPI/net7.0/PublicAPI.Shipped.txt @@ -197,8 +197,8 @@ override Microsoft.Identity.Web.TokenAcquisitionAppTokenCredential.GetToken(Azur override Microsoft.Identity.Web.TokenAcquisitionAppTokenCredential.GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask override Microsoft.Identity.Web.TokenAcquisitionTokenCredential.GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken) -> Azure.Core.AccessToken override Microsoft.Identity.Web.TokenAcquisitionTokenCredential.GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask -override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.ReadCacheBytesAsync(string! cacheKey, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints! cacheSerializerHints) -> System.Threading.Tasks.Task! override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.ReadCacheBytesAsync(string! cacheKey) -> System.Threading.Tasks.Task! +override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.ReadCacheBytesAsync(string! cacheKey, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints! cacheSerializerHints) -> System.Threading.Tasks.Task! override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.RemoveKeyAsync(string! cacheKey) -> System.Threading.Tasks.Task! override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.WriteCacheBytesAsync(string! cacheKey, byte[]! bytes) -> System.Threading.Tasks.Task! static Microsoft.Identity.Web.AccountExtensions.ToClaimsPrincipal(this Microsoft.Identity.Client.IAccount! account) -> System.Security.Claims.ClaimsPrincipal! @@ -208,9 +208,10 @@ static Microsoft.Identity.Web.AppServicesAuthenticationInformation.LogoutUrl.get static Microsoft.Identity.Web.AzureFunctionsAuthenticationHttpContextExtension.AuthenticateAzureFunctionAsync(this Microsoft.AspNetCore.Http.HttpContext! httpContext) -> System.Threading.Tasks.Task<(bool, Microsoft.AspNetCore.Mvc.IActionResult?)>! static Microsoft.Identity.Web.ClaimsPrincipalFactory.FromHomeTenantIdAndHomeObjectId(string! homeTenantId, string! homeObjectId) -> System.Security.Claims.ClaimsPrincipal! static Microsoft.Identity.Web.ClaimsPrincipalFactory.FromTenantIdAndObjectId(string! tenantId, string! objectId) -> System.Security.Claims.ClaimsPrincipal! +static Microsoft.Identity.Web.ClaimsPrincipalFactory.FromUsernamePassword(string! username, string! password) -> System.Security.Claims.ClaimsPrincipal! static Microsoft.Identity.Web.CookiePolicyOptionsExtensions.DisallowsSameSiteNone(string! userAgent) -> bool -static Microsoft.Identity.Web.CookiePolicyOptionsExtensions.HandleSameSiteCookieCompatibility(this Microsoft.AspNetCore.Builder.CookiePolicyOptions! options, System.Func! disallowsSameSiteNone) -> Microsoft.AspNetCore.Builder.CookiePolicyOptions! static Microsoft.Identity.Web.CookiePolicyOptionsExtensions.HandleSameSiteCookieCompatibility(this Microsoft.AspNetCore.Builder.CookiePolicyOptions! options) -> Microsoft.AspNetCore.Builder.CookiePolicyOptions! +static Microsoft.Identity.Web.CookiePolicyOptionsExtensions.HandleSameSiteCookieCompatibility(this Microsoft.AspNetCore.Builder.CookiePolicyOptions! options, System.Func! disallowsSameSiteNone) -> Microsoft.AspNetCore.Builder.CookiePolicyOptions! static Microsoft.Identity.Web.DownstreamWebApiExtensions.AddDownstreamWebApi(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! serviceName, Microsoft.Extensions.Configuration.IConfiguration! configuration) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.DownstreamWebApiExtensions.AddDownstreamWebApi(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! serviceName, System.Action! configureOptions) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.DownstreamWebApiGenericExtensions.CallWebApiForUserAsync(this Microsoft.Identity.Web.IDownstreamWebApi! downstreamWebApi, string! serviceName, System.Action? downstreamWebApiOptionsOverride = null, System.Security.Claims.ClaimsPrincipal? user = null, string? authenticationScheme = null) -> System.Threading.Tasks.Task! diff --git a/src/Microsoft.Identity.Web/PublicAPI/net7.0/PublicAPI.Unshipped.txt b/src/Microsoft.Identity.Web/PublicAPI/net7.0/PublicAPI.Unshipped.txt index 1fcf3fa79..e69de29bb 100644 --- a/src/Microsoft.Identity.Web/PublicAPI/net7.0/PublicAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web/PublicAPI/net7.0/PublicAPI.Unshipped.txt @@ -1,2 +0,0 @@ -#nullable enable -static Microsoft.Identity.Web.ClaimsPrincipalFactory.FromUsernamePassword(string! username, string! password) -> System.Security.Claims.ClaimsPrincipal! diff --git a/src/Microsoft.Identity.Web/PublicAPI/net8.0/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web/PublicAPI/net8.0/InternalAPI.Shipped.txt index 1da29166e..4d4a6507f 100644 --- a/src/Microsoft.Identity.Web/PublicAPI/net8.0/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web/PublicAPI/net8.0/InternalAPI.Shipped.txt @@ -25,6 +25,8 @@ Microsoft.Identity.Web.AzureADB2COpenIDConnectEventHandlers.OnRedirectToIdentity Microsoft.Identity.Web.AzureADB2COpenIDConnectEventHandlers.OnRemoteFailure(Microsoft.AspNetCore.Authentication.RemoteFailureContext! context) -> System.Threading.Tasks.Task! Microsoft.Identity.Web.AzureADB2COpenIDConnectEventHandlers.Options.get -> Microsoft.Identity.Web.MicrosoftIdentityOptions! Microsoft.Identity.Web.AzureADB2COpenIDConnectEventHandlers.SchemeName.get -> string! +Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException +Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.CustomSignedAssertionProviderNotFoundException(string! message) -> void Microsoft.Identity.Web.DefaultMicrosoftIdentityAuthenticationDelegatingHandlerFactory Microsoft.Identity.Web.DefaultMicrosoftIdentityAuthenticationDelegatingHandlerFactory.CreateAppHandler(string? serviceName) -> System.Net.Http.DelegatingHandler! Microsoft.Identity.Web.DefaultMicrosoftIdentityAuthenticationDelegatingHandlerFactory.CreateUserHandler(string? serviceName) -> System.Net.Http.DelegatingHandler! @@ -80,6 +82,9 @@ static Microsoft.Identity.Web.AuthorityHelpers.BuildCiamAuthorityIfNeeded(string static Microsoft.Identity.Web.AuthorityHelpers.EnsureAuthorityIsV2(string! authority) -> string! static Microsoft.Identity.Web.AuthorityHelpers.GetAuthorityWithoutQueryIfNeeded(Microsoft.Identity.Web.MicrosoftIdentityOptions! options) -> string! static Microsoft.Identity.Web.AuthorizeForScopesAttribute.FindMsalUiRequiredExceptionIfAny(System.Exception! exception) -> Microsoft.Identity.Client.MsalUiRequiredException? +static Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.CustomProviderSourceLoaderNullOrEmpty() -> Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException! +static Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.ProviderNameNotFound(string! name) -> Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException! +static Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.ProviderNameNullOrEmpty() -> Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException! static Microsoft.Identity.Web.Extensions.ContainsAny(this string! searchFor, params string![]! stringCollection) -> bool static Microsoft.Identity.Web.IncrementalConsentAndConditionalAccessHelper.BuildAuthenticationProperties(string![]? scopes, Microsoft.Identity.Client.MsalUiRequiredException! ex, System.Security.Claims.ClaimsPrincipal! user, string? userflow = null) -> Microsoft.AspNetCore.Authentication.AuthenticationProperties! static Microsoft.Identity.Web.IncrementalConsentAndConditionalAccessHelper.CanBeSolvedByReSignInOfUser(Microsoft.Identity.Client.MsalUiRequiredException! ex) -> bool diff --git a/src/Microsoft.Identity.Web/PublicAPI/net8.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web/PublicAPI/net8.0/PublicAPI.Shipped.txt index 5bfbfbcab..3f56dec7b 100644 --- a/src/Microsoft.Identity.Web/PublicAPI/net8.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web/PublicAPI/net8.0/PublicAPI.Shipped.txt @@ -197,8 +197,8 @@ override Microsoft.Identity.Web.TokenAcquisitionAppTokenCredential.GetToken(Azur override Microsoft.Identity.Web.TokenAcquisitionAppTokenCredential.GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask override Microsoft.Identity.Web.TokenAcquisitionTokenCredential.GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken) -> Azure.Core.AccessToken override Microsoft.Identity.Web.TokenAcquisitionTokenCredential.GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask -override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.ReadCacheBytesAsync(string! cacheKey, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints! cacheSerializerHints) -> System.Threading.Tasks.Task! override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.ReadCacheBytesAsync(string! cacheKey) -> System.Threading.Tasks.Task! +override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.ReadCacheBytesAsync(string! cacheKey, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints! cacheSerializerHints) -> System.Threading.Tasks.Task! override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.RemoveKeyAsync(string! cacheKey) -> System.Threading.Tasks.Task! override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.WriteCacheBytesAsync(string! cacheKey, byte[]! bytes) -> System.Threading.Tasks.Task! static Microsoft.Identity.Web.AccountExtensions.ToClaimsPrincipal(this Microsoft.Identity.Client.IAccount! account) -> System.Security.Claims.ClaimsPrincipal! @@ -208,9 +208,10 @@ static Microsoft.Identity.Web.AppServicesAuthenticationInformation.LogoutUrl.get static Microsoft.Identity.Web.AzureFunctionsAuthenticationHttpContextExtension.AuthenticateAzureFunctionAsync(this Microsoft.AspNetCore.Http.HttpContext! httpContext) -> System.Threading.Tasks.Task<(bool, Microsoft.AspNetCore.Mvc.IActionResult?)>! static Microsoft.Identity.Web.ClaimsPrincipalFactory.FromHomeTenantIdAndHomeObjectId(string! homeTenantId, string! homeObjectId) -> System.Security.Claims.ClaimsPrincipal! static Microsoft.Identity.Web.ClaimsPrincipalFactory.FromTenantIdAndObjectId(string! tenantId, string! objectId) -> System.Security.Claims.ClaimsPrincipal! +static Microsoft.Identity.Web.ClaimsPrincipalFactory.FromUsernamePassword(string! username, string! password) -> System.Security.Claims.ClaimsPrincipal! static Microsoft.Identity.Web.CookiePolicyOptionsExtensions.DisallowsSameSiteNone(string! userAgent) -> bool -static Microsoft.Identity.Web.CookiePolicyOptionsExtensions.HandleSameSiteCookieCompatibility(this Microsoft.AspNetCore.Builder.CookiePolicyOptions! options, System.Func! disallowsSameSiteNone) -> Microsoft.AspNetCore.Builder.CookiePolicyOptions! static Microsoft.Identity.Web.CookiePolicyOptionsExtensions.HandleSameSiteCookieCompatibility(this Microsoft.AspNetCore.Builder.CookiePolicyOptions! options) -> Microsoft.AspNetCore.Builder.CookiePolicyOptions! +static Microsoft.Identity.Web.CookiePolicyOptionsExtensions.HandleSameSiteCookieCompatibility(this Microsoft.AspNetCore.Builder.CookiePolicyOptions! options, System.Func! disallowsSameSiteNone) -> Microsoft.AspNetCore.Builder.CookiePolicyOptions! static Microsoft.Identity.Web.DownstreamWebApiExtensions.AddDownstreamWebApi(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! serviceName, Microsoft.Extensions.Configuration.IConfiguration! configuration) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.DownstreamWebApiExtensions.AddDownstreamWebApi(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! serviceName, System.Action! configureOptions) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.DownstreamWebApiGenericExtensions.CallWebApiForUserAsync(this Microsoft.Identity.Web.IDownstreamWebApi! downstreamWebApi, string! serviceName, System.Action? downstreamWebApiOptionsOverride = null, System.Security.Claims.ClaimsPrincipal? user = null, string? authenticationScheme = null) -> System.Threading.Tasks.Task! diff --git a/src/Microsoft.Identity.Web/PublicAPI/net8.0/PublicAPI.Unshipped.txt b/src/Microsoft.Identity.Web/PublicAPI/net8.0/PublicAPI.Unshipped.txt index 1fcf3fa79..e69de29bb 100644 --- a/src/Microsoft.Identity.Web/PublicAPI/net8.0/PublicAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web/PublicAPI/net8.0/PublicAPI.Unshipped.txt @@ -1,2 +0,0 @@ -#nullable enable -static Microsoft.Identity.Web.ClaimsPrincipalFactory.FromUsernamePassword(string! username, string! password) -> System.Security.Claims.ClaimsPrincipal! diff --git a/src/Microsoft.Identity.Web/PublicAPI/net9.0/InternalAPI.Shipped.txt b/src/Microsoft.Identity.Web/PublicAPI/net9.0/InternalAPI.Shipped.txt index 1da29166e..4d4a6507f 100644 --- a/src/Microsoft.Identity.Web/PublicAPI/net9.0/InternalAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web/PublicAPI/net9.0/InternalAPI.Shipped.txt @@ -25,6 +25,8 @@ Microsoft.Identity.Web.AzureADB2COpenIDConnectEventHandlers.OnRedirectToIdentity Microsoft.Identity.Web.AzureADB2COpenIDConnectEventHandlers.OnRemoteFailure(Microsoft.AspNetCore.Authentication.RemoteFailureContext! context) -> System.Threading.Tasks.Task! Microsoft.Identity.Web.AzureADB2COpenIDConnectEventHandlers.Options.get -> Microsoft.Identity.Web.MicrosoftIdentityOptions! Microsoft.Identity.Web.AzureADB2COpenIDConnectEventHandlers.SchemeName.get -> string! +Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException +Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.CustomSignedAssertionProviderNotFoundException(string! message) -> void Microsoft.Identity.Web.DefaultMicrosoftIdentityAuthenticationDelegatingHandlerFactory Microsoft.Identity.Web.DefaultMicrosoftIdentityAuthenticationDelegatingHandlerFactory.CreateAppHandler(string? serviceName) -> System.Net.Http.DelegatingHandler! Microsoft.Identity.Web.DefaultMicrosoftIdentityAuthenticationDelegatingHandlerFactory.CreateUserHandler(string? serviceName) -> System.Net.Http.DelegatingHandler! @@ -80,6 +82,9 @@ static Microsoft.Identity.Web.AuthorityHelpers.BuildCiamAuthorityIfNeeded(string static Microsoft.Identity.Web.AuthorityHelpers.EnsureAuthorityIsV2(string! authority) -> string! static Microsoft.Identity.Web.AuthorityHelpers.GetAuthorityWithoutQueryIfNeeded(Microsoft.Identity.Web.MicrosoftIdentityOptions! options) -> string! static Microsoft.Identity.Web.AuthorizeForScopesAttribute.FindMsalUiRequiredExceptionIfAny(System.Exception! exception) -> Microsoft.Identity.Client.MsalUiRequiredException? +static Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.CustomProviderSourceLoaderNullOrEmpty() -> Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException! +static Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.ProviderNameNotFound(string! name) -> Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException! +static Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException.ProviderNameNullOrEmpty() -> Microsoft.Identity.Web.CustomSignedAssertionProviderNotFoundException! static Microsoft.Identity.Web.Extensions.ContainsAny(this string! searchFor, params string![]! stringCollection) -> bool static Microsoft.Identity.Web.IncrementalConsentAndConditionalAccessHelper.BuildAuthenticationProperties(string![]? scopes, Microsoft.Identity.Client.MsalUiRequiredException! ex, System.Security.Claims.ClaimsPrincipal! user, string? userflow = null) -> Microsoft.AspNetCore.Authentication.AuthenticationProperties! static Microsoft.Identity.Web.IncrementalConsentAndConditionalAccessHelper.CanBeSolvedByReSignInOfUser(Microsoft.Identity.Client.MsalUiRequiredException! ex) -> bool diff --git a/src/Microsoft.Identity.Web/PublicAPI/net9.0/PublicAPI.Shipped.txt b/src/Microsoft.Identity.Web/PublicAPI/net9.0/PublicAPI.Shipped.txt index 5bfbfbcab..3f56dec7b 100644 --- a/src/Microsoft.Identity.Web/PublicAPI/net9.0/PublicAPI.Shipped.txt +++ b/src/Microsoft.Identity.Web/PublicAPI/net9.0/PublicAPI.Shipped.txt @@ -197,8 +197,8 @@ override Microsoft.Identity.Web.TokenAcquisitionAppTokenCredential.GetToken(Azur override Microsoft.Identity.Web.TokenAcquisitionAppTokenCredential.GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask override Microsoft.Identity.Web.TokenAcquisitionTokenCredential.GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken) -> Azure.Core.AccessToken override Microsoft.Identity.Web.TokenAcquisitionTokenCredential.GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask -override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.ReadCacheBytesAsync(string! cacheKey, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints! cacheSerializerHints) -> System.Threading.Tasks.Task! override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.ReadCacheBytesAsync(string! cacheKey) -> System.Threading.Tasks.Task! +override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.ReadCacheBytesAsync(string! cacheKey, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints! cacheSerializerHints) -> System.Threading.Tasks.Task! override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.RemoveKeyAsync(string! cacheKey) -> System.Threading.Tasks.Task! override Microsoft.Identity.Web.TokenCacheProviders.Session.MsalSessionTokenCacheProvider.WriteCacheBytesAsync(string! cacheKey, byte[]! bytes) -> System.Threading.Tasks.Task! static Microsoft.Identity.Web.AccountExtensions.ToClaimsPrincipal(this Microsoft.Identity.Client.IAccount! account) -> System.Security.Claims.ClaimsPrincipal! @@ -208,9 +208,10 @@ static Microsoft.Identity.Web.AppServicesAuthenticationInformation.LogoutUrl.get static Microsoft.Identity.Web.AzureFunctionsAuthenticationHttpContextExtension.AuthenticateAzureFunctionAsync(this Microsoft.AspNetCore.Http.HttpContext! httpContext) -> System.Threading.Tasks.Task<(bool, Microsoft.AspNetCore.Mvc.IActionResult?)>! static Microsoft.Identity.Web.ClaimsPrincipalFactory.FromHomeTenantIdAndHomeObjectId(string! homeTenantId, string! homeObjectId) -> System.Security.Claims.ClaimsPrincipal! static Microsoft.Identity.Web.ClaimsPrincipalFactory.FromTenantIdAndObjectId(string! tenantId, string! objectId) -> System.Security.Claims.ClaimsPrincipal! +static Microsoft.Identity.Web.ClaimsPrincipalFactory.FromUsernamePassword(string! username, string! password) -> System.Security.Claims.ClaimsPrincipal! static Microsoft.Identity.Web.CookiePolicyOptionsExtensions.DisallowsSameSiteNone(string! userAgent) -> bool -static Microsoft.Identity.Web.CookiePolicyOptionsExtensions.HandleSameSiteCookieCompatibility(this Microsoft.AspNetCore.Builder.CookiePolicyOptions! options, System.Func! disallowsSameSiteNone) -> Microsoft.AspNetCore.Builder.CookiePolicyOptions! static Microsoft.Identity.Web.CookiePolicyOptionsExtensions.HandleSameSiteCookieCompatibility(this Microsoft.AspNetCore.Builder.CookiePolicyOptions! options) -> Microsoft.AspNetCore.Builder.CookiePolicyOptions! +static Microsoft.Identity.Web.CookiePolicyOptionsExtensions.HandleSameSiteCookieCompatibility(this Microsoft.AspNetCore.Builder.CookiePolicyOptions! options, System.Func! disallowsSameSiteNone) -> Microsoft.AspNetCore.Builder.CookiePolicyOptions! static Microsoft.Identity.Web.DownstreamWebApiExtensions.AddDownstreamWebApi(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! serviceName, Microsoft.Extensions.Configuration.IConfiguration! configuration) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.DownstreamWebApiExtensions.AddDownstreamWebApi(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! builder, string! serviceName, System.Action! configureOptions) -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder! static Microsoft.Identity.Web.DownstreamWebApiGenericExtensions.CallWebApiForUserAsync(this Microsoft.Identity.Web.IDownstreamWebApi! downstreamWebApi, string! serviceName, System.Action? downstreamWebApiOptionsOverride = null, System.Security.Claims.ClaimsPrincipal? user = null, string? authenticationScheme = null) -> System.Threading.Tasks.Task! diff --git a/src/Microsoft.Identity.Web/PublicAPI/net9.0/PublicAPI.Unshipped.txt b/src/Microsoft.Identity.Web/PublicAPI/net9.0/PublicAPI.Unshipped.txt index 1fcf3fa79..e69de29bb 100644 --- a/src/Microsoft.Identity.Web/PublicAPI/net9.0/PublicAPI.Unshipped.txt +++ b/src/Microsoft.Identity.Web/PublicAPI/net9.0/PublicAPI.Unshipped.txt @@ -1,2 +0,0 @@ -#nullable enable -static Microsoft.Identity.Web.ClaimsPrincipalFactory.FromUsernamePassword(string! username, string! password) -> System.Security.Claims.ClaimsPrincipal! diff --git a/tests/DevApps/aspnet-mvc/OwinWebApi/Web.config b/tests/DevApps/aspnet-mvc/OwinWebApi/Web.config index a304966e0..2d99d4971 100644 --- a/tests/DevApps/aspnet-mvc/OwinWebApi/Web.config +++ b/tests/DevApps/aspnet-mvc/OwinWebApi/Web.config @@ -58,7 +58,7 @@ - + @@ -74,7 +74,7 @@ - + @@ -82,23 +82,23 @@ - + - + - + - + - + diff --git a/tests/DevApps/aspnet-mvc/OwinWebApp/Web.config b/tests/DevApps/aspnet-mvc/OwinWebApp/Web.config index 44a7980ee..3c287d045 100644 --- a/tests/DevApps/aspnet-mvc/OwinWebApp/Web.config +++ b/tests/DevApps/aspnet-mvc/OwinWebApp/Web.config @@ -59,7 +59,7 @@ - + @@ -75,7 +75,7 @@ - + @@ -83,23 +83,23 @@ - + - + - + - + - + diff --git a/tests/E2E Tests/CustomSignedAssertionProviderTests/CustomSignedAssertionProviderExtensibilityTests.cs b/tests/E2E Tests/CustomSignedAssertionProviderTests/CustomSignedAssertionProviderExtensibilityTests.cs new file mode 100644 index 000000000..158957f21 --- /dev/null +++ b/tests/E2E Tests/CustomSignedAssertionProviderTests/CustomSignedAssertionProviderExtensibilityTests.cs @@ -0,0 +1,59 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Identity.Abstractions; +using Microsoft.Identity.Client; +using Microsoft.Identity.Web; +using Xunit.Sdk; + + +namespace CustomSignedAssertionProviderTests +{ + public class CustomSignedAssertionProviderExtensibilityTests + { + [Fact] + public async Task UseSignedAssertionFromCustomSignedAssertionProvider() + { + // Arrange + string expectedExceptionCode = "AADSTS50027"; + TokenAcquirerFactory tokenAcquirerFactory = TokenAcquirerFactory.GetDefaultInstance(); + tokenAcquirerFactory.Services.AddCustomSignedAssertionProvider(); + + // this is how the authentication options can be configured in code rather than + // in the appsettings file, though using the appsettings file is recommended + /* + tokenAcquirerFactory.Services.Configure(options => + { + options.Instance = "https://login.microsoftonline.com/"; + options.TenantId = "msidlab4.onmicrosoft.com"; + options.ClientId = "f6b698c0-140c-448f-8155-4aa9bf77ceba"; + options.ClientCredentials = [ new CredentialDescription() { + SourceType = CredentialSource.CustomSignedAssertion, + CustomSignedAssertionProviderName = "MyCustomExtension" + }]; + }); + */ + IServiceProvider serviceProvider = tokenAcquirerFactory.Build(); + IAuthorizationHeaderProvider authorizationHeaderProvider = serviceProvider.GetRequiredService(); + + try + { + // Act + _ = await authorizationHeaderProvider.CreateAuthorizationHeaderForAppAsync("https://graph.microsoft.com/.default"); + } + catch (MsalServiceException MsalEx) + { + // Assert + Assert.Contains(expectedExceptionCode, MsalEx.Message, StringComparison.InvariantCulture); + } + catch (Exception ex) when (ex is not XunitException) + { + Assert.Fail(ex.Message); + } + } + } +} diff --git a/tests/E2E Tests/CustomSignedAssertionProviderTests/CustomSignedAssertionProviderExtensions.cs b/tests/E2E Tests/CustomSignedAssertionProviderTests/CustomSignedAssertionProviderExtensions.cs new file mode 100644 index 000000000..f23d7373a --- /dev/null +++ b/tests/E2E Tests/CustomSignedAssertionProviderTests/CustomSignedAssertionProviderExtensions.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Identity.Abstractions; + +namespace CustomSignedAssertionProviderTests +{ + public static class CustomSignedAssertionProviderExtensions + { + public static IServiceCollection AddCustomSignedAssertionProvider(this IServiceCollection services) + { + services.AddSingleton(); + return services; + } + } +} diff --git a/tests/E2E Tests/CustomSignedAssertionProviderTests/CustomSignedAssertionProviderTests.csproj b/tests/E2E Tests/CustomSignedAssertionProviderTests/CustomSignedAssertionProviderTests.csproj new file mode 100644 index 000000000..2cb4fef1d --- /dev/null +++ b/tests/E2E Tests/CustomSignedAssertionProviderTests/CustomSignedAssertionProviderTests.csproj @@ -0,0 +1,37 @@ + + + + net9.0 + ../../../build/MSAL.snk + enable + false + + + + + Always + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/E2E Tests/CustomSignedAssertionProviderTests/MyCustomSignedAssertionLoader.cs b/tests/E2E Tests/CustomSignedAssertionProviderTests/MyCustomSignedAssertionLoader.cs new file mode 100644 index 000000000..d75b2cb46 --- /dev/null +++ b/tests/E2E Tests/CustomSignedAssertionProviderTests/MyCustomSignedAssertionLoader.cs @@ -0,0 +1,49 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Threading.Tasks; +using Microsoft.Extensions.Logging; +using Microsoft.Identity.Abstractions; + +namespace CustomSignedAssertionProviderTests +{ + internal class MyCustomSignedAssertionLoader : ICustomSignedAssertionProvider + { + private readonly ILogger _logger; + + public MyCustomSignedAssertionLoader(ILogger logger) + { + _logger = logger; + } + + public CredentialSource CredentialSource => CredentialSource.CustomSignedAssertion; + + public string Name => "MyCustomExtension"; + + public async Task LoadIfNeededAsync(CredentialDescription credentialDescription, CredentialSourceLoaderParameters? parameters = null) + { + MyCustomSignedAssertionProvider? signedAssertion = credentialDescription.CachedValue as MyCustomSignedAssertionProvider; + if (credentialDescription.CachedValue == null) + { + signedAssertion = new MyCustomSignedAssertionProvider(credentialDescription.CustomSignedAssertionProviderData); + } + + try + { + // Try to get a signed assertion, and if it fails, move to the next credentials + _ = await signedAssertion!.GetSignedAssertionAsync(null); + credentialDescription.CachedValue = signedAssertion; + } + catch (Exception ex) + { + if (_logger != null) + { + _logger.LogError(42, "Failed to get signed assertion from {ProviderName}. exception occurred: {Message}. Setting skip to true.", credentialDescription.CustomSignedAssertionProviderName, ex.Message); + } + credentialDescription.Skip = true; + throw; + } + } + } +} diff --git a/tests/E2E Tests/CustomSignedAssertionProviderTests/MyCustomSignedAssertionProvider.cs b/tests/E2E Tests/CustomSignedAssertionProviderTests/MyCustomSignedAssertionProvider.cs new file mode 100644 index 000000000..3500e6e00 --- /dev/null +++ b/tests/E2E Tests/CustomSignedAssertionProviderTests/MyCustomSignedAssertionProvider.cs @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using Microsoft.Identity.Client; +using Microsoft.Identity.Web; + +namespace CustomSignedAssertionProviderTests +{ + internal class MyCustomSignedAssertionProvider : ClientAssertionProviderBase + { + public MyCustomSignedAssertionProvider(Dictionary? properties) + { + // Implement logic to extract information from the properties passed in the configuration. + } + + protected override Task GetClientAssertionAsync(AssertionRequestOptions? assertionRequestOptions) + { + // Implement logic to get the signed assertion, which is probably going to be a call to a service. + // This call can be parameterized by using the parameters from the properties arg in the constructor. + + // In this sample code we just create an empty signed assertion and return it. + var clientAssertion = new ClientAssertion("FakeAssertion", DateTimeOffset.Now); + return Task.FromResult(clientAssertion); + } + } +} diff --git a/tests/E2E Tests/CustomSignedAssertionProviderTests/appsettings.json b/tests/E2E Tests/CustomSignedAssertionProviderTests/appsettings.json new file mode 100644 index 000000000..991d7b190 --- /dev/null +++ b/tests/E2E Tests/CustomSignedAssertionProviderTests/appsettings.json @@ -0,0 +1,13 @@ +{ + "AzureAd": { + "Instance": "https://login.microsoftonline.com/", + "TenantId": "msidlab4.onmicrosoft.com", + "ClientId": "f6b698c0-140c-448f-8155-4aa9bf77ceba", + "ClientCredentials": [ + { + "SourceType": "CustomSignedAssertion", + "CustomSignedAssertionProviderName": "MyCustomExtension" + } + ] + } +} diff --git a/tests/Microsoft.Identity.Web.Test/CustomSignedAssertionProviderTests.cs b/tests/Microsoft.Identity.Web.Test/CustomSignedAssertionProviderTests.cs new file mode 100644 index 000000000..7b89e2482 --- /dev/null +++ b/tests/Microsoft.Identity.Web.Test/CustomSignedAssertionProviderTests.cs @@ -0,0 +1,229 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Threading.Tasks; +using Microsoft.Extensions.Logging; +using Microsoft.Identity.Abstractions; +using Xunit; + +namespace Microsoft.Identity.Web.Test +{ + public class CustomSignedAssertionProviderTests + { + [Fact] + public void Constructor_NullProviders_ThrowsArgumentNullException() + { + // Arrange + var loggerMock = new CustomMockLogger(); + // Act & Assert + Assert.Throws(() => new DefaultCredentialsLoader(null!, loggerMock)); + } + + [Theory] + [MemberData(nameof(CustomSignedAssertionProviderLoggingTestData), DisableDiscoveryEnumeration = true)] + public async Task ProcessCustomSignedAssertionAsync_Tests(CustomSignedAssertionProviderTheoryData data) + { + // Arrange + var loggerMock = new CustomMockLogger(); + + var loader = new DefaultCredentialsLoader(data.AssertionProviderList, loggerMock); + + // Act + try + { + await loader.LoadCredentialsIfNeededAsync(data.CredentialDescription, null); + } + catch (Exception ex) + { + Assert.Equal(data.ExpectedExceptionMessage, ex.Message); + + // This is validating the logging behavior defined by DefaultCredentialsLoader.Logger.CustomSignedAssertionProviderLoadingFailure + if (data.ExpectedLogMessage is not null) + { + Assert.Contains(loggerMock.LoggedMessages, log => log.LogLevel == data.ExpectedLogLevel && log.Message.Contains(data.ExpectedLogMessage, StringComparison.InvariantCulture)); + } + return; + } + + // Assert + if (data.ExpectedLogMessage is not null) + { + Assert.Contains(loggerMock.LoggedMessages, log => log.LogLevel == data.ExpectedLogLevel && log.Message.Contains(data.ExpectedLogMessage, StringComparison.InvariantCulture)); + } + else + { + Assert.DoesNotContain(loggerMock.LoggedMessages, log => log.LogLevel == data.ExpectedLogLevel); + } + } + + public static TheoryData CustomSignedAssertionProviderLoggingTestData() + { + return + [ + // No source loaders + new CustomSignedAssertionProviderTheoryData + { + AssertionProviderList = [], + CredentialDescription = new CredentialDescription + { + CustomSignedAssertionProviderName = "Provider1", + SourceType = CredentialSource.CustomSignedAssertion, + Skip = false + }, + ExpectedLogLevel = LogLevel.Error, + ExpectedLogMessage = CertificateErrorMessage.CustomProviderSourceLoaderNullOrEmpty + }, + + // No provider name given + new CustomSignedAssertionProviderTheoryData + { + AssertionProviderList = [new SuccessfulCustomSignedAssertionProvider("Provider2")], + CredentialDescription = new CredentialDescription + { + CustomSignedAssertionProviderName = null, + SourceType = CredentialSource.CustomSignedAssertion + }, + ExpectedLogLevel = LogLevel.Error, + ExpectedLogMessage = CertificateErrorMessage.CustomProviderNameNullOrEmpty + }, + + // Given provider name not found + new CustomSignedAssertionProviderTheoryData + { + AssertionProviderList = [new SuccessfulCustomSignedAssertionProvider("NotProvider3")], + CredentialDescription = new CredentialDescription + { + CustomSignedAssertionProviderName = "Provider3", + SourceType = CredentialSource.CustomSignedAssertion + }, + ExpectedLogLevel = LogLevel.Error, + ExpectedLogMessage = string.Format(CultureInfo.InvariantCulture, CertificateErrorMessage.CustomProviderNotFound, "Provider3") + }, + + // Happy path (no logging expected) + new CustomSignedAssertionProviderTheoryData + { + AssertionProviderList = [new SuccessfulCustomSignedAssertionProvider("Provider4")], + CredentialDescription = new CredentialDescription + { + CustomSignedAssertionProviderName = "Provider4", + SourceType = CredentialSource.CustomSignedAssertion + } + }, + + // CustomSignedAssertionProvider (i.e. the user's extension) throws an exception + new CustomSignedAssertionProviderTheoryData + { + AssertionProviderList = [new FailingCustomSignedAssertionProvider("Provider5")], + CredentialDescription = new CredentialDescription + { + CustomSignedAssertionProviderName = "Provider5", + SourceType = CredentialSource.CustomSignedAssertion + }, + ExpectedLogLevel = LogLevel.Information, + ExpectedLogMessage = string.Format + ( + CultureInfo.InvariantCulture, + DefaultCredentialsLoader.CustomSignedAssertionProviderLoadingFailureMessage + ( + "Provider5", + CredentialSource.CustomSignedAssertion.ToString(), + false.ToString() + ) + ), + ExpectedExceptionMessage = FailingCustomSignedAssertionProvider.ExceptionMessage + }, + + // Multiple providers with the same name + new CustomSignedAssertionProviderTheoryData + { + AssertionProviderList = [new SuccessfulCustomSignedAssertionProvider("Provider6"), new SuccessfulCustomSignedAssertionProvider("Provider6")], + CredentialDescription = new CredentialDescription + { + CustomSignedAssertionProviderName = "Provider6", + SourceType = CredentialSource.CustomSignedAssertion + }, + ExpectedLogLevel = LogLevel.Warning, + ExpectedLogMessage = string.Format(CultureInfo.InvariantCulture, CertificateErrorMessage.CustomProviderNameAlreadyExists, "Provider6") + } + ]; + } + + } + + public class CustomSignedAssertionProviderTheoryData + { + public List AssertionProviderList { get; set; } = []; + public CredentialDescription CredentialDescription { get; set; } = new CredentialDescription(); + public LogLevel ExpectedLogLevel { get; set; } + public string? ExpectedLogMessage { get; set; } + public string? ExpectedExceptionMessage { get; set; } + } + + // Custom logger implementation + sealed class CustomMockLogger : ILogger + { + public List LoggedMessages { get; } = []; + + IDisposable ILogger.BeginScope(TState state) => null!; + + bool ILogger.IsEnabled(LogLevel logLevel) => true; + + void ILogger.Log(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func formatter) + { + LoggedMessages.Add(new LogEntry + { + LogLevel = logLevel, + Message = formatter(state, exception), + Exception = exception + }); + } + } + + public class LogEntry + { + public LogLevel LogLevel { get; set; } + public string Message { get; set; } = string.Empty; + public Exception? Exception { get; set; } + } + + // Helper class mocking an implementation of ICustomSignedAssertionProvider normally provided by a user where the LoadIfNeededAsync method completes without error. + internal class SuccessfulCustomSignedAssertionProvider : ICustomSignedAssertionProvider + { + public string Name { get; } + + public CredentialSource CredentialSource => CredentialSource.CustomSignedAssertion; + + public SuccessfulCustomSignedAssertionProvider(string name) + { + Name = name; + } + + public Task LoadIfNeededAsync(CredentialDescription credentialDescription, CredentialSourceLoaderParameters? parameters) + { + return Task.CompletedTask; + } + } + + // Helper class mocking an implementation of ICustomSignedAssertionProvider normally provided by a user where the LoadIfNeededAsync method throws error. + internal class FailingCustomSignedAssertionProvider : ICustomSignedAssertionProvider + { + public string Name { get; } + public const string ExceptionMessage = "This extension is broken :("; + + public CredentialSource CredentialSource => CredentialSource.CustomSignedAssertion; + + public FailingCustomSignedAssertionProvider(string name) + { + Name = name; + } + + public Task LoadIfNeededAsync(CredentialDescription credentialDescription, CredentialSourceLoaderParameters? parameters) + { + throw new Exception("This extension is broken :("); + } + } +}