ICredentialsProvider Interface

Definition

Credential provider class. Provides access to configured credentials and observers.

public interface ICredentialsProvider
type ICredentialsProvider = interface
Public Interface ICredentialsProvider

Methods

Name Description
GetCredentialAsync(CredentialSourceLoaderParameters, CancellationToken)

Gets a credential to be used for authentication, based on the provided credential descriptions. The provider may choose to return a credential based on any of the provided descriptions, and is not required to return a credential for each description. The provider may also choose to return null, in which case the system will attempt to authenticate without client credentials, if applicable.

NotifyCertificateUsed(CredentialSourceLoaderParameters, CredentialDescription, X509Certificate2, Boolean, Exception)

Notifies that a certificate was used.

Applies to