CredentialResolver Class

Definition

Plug-in point for resolving an AuthenticationTokenProvider from an IConfigurationSection that describes a credential. Credential libraries derive from this class and ship a typed Add{Brand}CredentialResolver() registration extension.

public abstract class CredentialResolver
type CredentialResolver = class
Public MustInherit Class CredentialResolver
Inheritance
CredentialResolver
Derived

Constructors

Name Description
CredentialResolver()

Methods

Name Description
TryResolve(IConfigurationSection, AuthenticationTokenProvider)

Attempts to construct an AuthenticationTokenProvider for the supplied credential configuration section.

TryResolve(IConfigurationSection, Func<IConfigurationSection,AuthenticationTokenProvider>, AuthenticationTokenProvider)

Attempts to construct an AuthenticationTokenProvider for the supplied credential configuration section, with access to a callback that recursively resolves child sections through the same active resolver chain.

Applies to