Partager via


DefaultCredentialsLoader Constructors

Definition

Overloads

Name Description
DefaultCredentialsLoader()

Default constructor (for backward compatibility)

DefaultCredentialsLoader(ILogger<DefaultCredentialsLoader>)

Constructor with a logger

DefaultCredentialsLoader(IEnumerable<ICredentialSourceLoader>, ILogger<DefaultCredentialsLoader>)

Constructor with a logger and custom credential source loaders

DefaultCredentialsLoader(IEnumerable<ICustomSignedAssertionProvider>, ILogger<DefaultCredentialsLoader>)

Constructor for DefaultCredentialsLoader when using custom signed assertion provider source loaders.

DefaultCredentialsLoader(IEnumerable<ICredentialSourceLoader>, IEnumerable<ICustomSignedAssertionProvider>, ILogger<DefaultCredentialsLoader>)

Constructor for DefaultCredentialsLoader with both custom signed assertion providers and custom credential source loaders.

DefaultCredentialsLoader()

Default constructor (for backward compatibility)

public DefaultCredentialsLoader();
Public Sub New ()

Applies to

DefaultCredentialsLoader(ILogger<DefaultCredentialsLoader>)

Constructor with a logger

public DefaultCredentialsLoader(Microsoft.Extensions.Logging.ILogger<Microsoft.Identity.Web.DefaultCredentialsLoader>? logger);
new Microsoft.Identity.Web.DefaultCredentialsLoader : Microsoft.Extensions.Logging.ILogger<Microsoft.Identity.Web.DefaultCredentialsLoader> -> Microsoft.Identity.Web.DefaultCredentialsLoader
Public Sub New (logger As ILogger(Of DefaultCredentialsLoader))

Parameters

Applies to

DefaultCredentialsLoader(IEnumerable<ICredentialSourceLoader>, ILogger<DefaultCredentialsLoader>)

Constructor with a logger and custom credential source loaders

public DefaultCredentialsLoader(System.Collections.Generic.IEnumerable<Microsoft.Identity.Abstractions.ICredentialSourceLoader> credentialSourceLoaders, Microsoft.Extensions.Logging.ILogger<Microsoft.Identity.Web.DefaultCredentialsLoader>? logger);
new Microsoft.Identity.Web.DefaultCredentialsLoader : seq<Microsoft.Identity.Abstractions.ICredentialSourceLoader> * Microsoft.Extensions.Logging.ILogger<Microsoft.Identity.Web.DefaultCredentialsLoader> -> Microsoft.Identity.Web.DefaultCredentialsLoader
Public Sub New (credentialSourceLoaders As IEnumerable(Of ICredentialSourceLoader), logger As ILogger(Of DefaultCredentialsLoader))

Parameters

credentialSourceLoaders
IEnumerable<ICredentialSourceLoader>

Additional credential source loaders. Can override built-in loaders.

logger
ILogger<DefaultCredentialsLoader>

Logger instance

Applies to

DefaultCredentialsLoader(IEnumerable<ICustomSignedAssertionProvider>, ILogger<DefaultCredentialsLoader>)

Constructor for DefaultCredentialsLoader when using custom signed assertion provider source loaders.

public DefaultCredentialsLoader(System.Collections.Generic.IEnumerable<Microsoft.Identity.Abstractions.ICustomSignedAssertionProvider> customSignedAssertionProviders, Microsoft.Extensions.Logging.ILogger<Microsoft.Identity.Web.DefaultCredentialsLoader>? logger);
new Microsoft.Identity.Web.DefaultCredentialsLoader : seq<Microsoft.Identity.Abstractions.ICustomSignedAssertionProvider> * Microsoft.Extensions.Logging.ILogger<Microsoft.Identity.Web.DefaultCredentialsLoader> -> Microsoft.Identity.Web.DefaultCredentialsLoader
Public Sub New (customSignedAssertionProviders As IEnumerable(Of ICustomSignedAssertionProvider), logger As ILogger(Of DefaultCredentialsLoader))

Parameters

customSignedAssertionProviders
IEnumerable<ICustomSignedAssertionProvider>

Set of custom signed assertion providers.

Applies to

DefaultCredentialsLoader(IEnumerable<ICredentialSourceLoader>, IEnumerable<ICustomSignedAssertionProvider>, ILogger<DefaultCredentialsLoader>)

Constructor for DefaultCredentialsLoader with both custom signed assertion providers and custom credential source loaders.

public DefaultCredentialsLoader(System.Collections.Generic.IEnumerable<Microsoft.Identity.Abstractions.ICredentialSourceLoader> credentialSourceLoaders, System.Collections.Generic.IEnumerable<Microsoft.Identity.Abstractions.ICustomSignedAssertionProvider> customSignedAssertionProviders, Microsoft.Extensions.Logging.ILogger<Microsoft.Identity.Web.DefaultCredentialsLoader>? logger);
new Microsoft.Identity.Web.DefaultCredentialsLoader : seq<Microsoft.Identity.Abstractions.ICredentialSourceLoader> * seq<Microsoft.Identity.Abstractions.ICustomSignedAssertionProvider> * Microsoft.Extensions.Logging.ILogger<Microsoft.Identity.Web.DefaultCredentialsLoader> -> Microsoft.Identity.Web.DefaultCredentialsLoader
Public Sub New (credentialSourceLoaders As IEnumerable(Of ICredentialSourceLoader), customSignedAssertionProviders As IEnumerable(Of ICustomSignedAssertionProvider), logger As ILogger(Of DefaultCredentialsLoader))

Parameters

credentialSourceLoaders
IEnumerable<ICredentialSourceLoader>

Additional credential source loaders. Can override built-in loaders.

customSignedAssertionProviders
IEnumerable<ICustomSignedAssertionProvider>

Set of custom signed assertion providers.

Applies to