ICredentialsProvider Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |