ICredentialsProvider.NotifyCertificateUsed Method
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.
Notifies that a certificate was used.
public void NotifyCertificateUsed(Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters? sourceLoaderParameters, Microsoft.Identity.Abstractions.CredentialDescription certificateDescription, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, bool successful, Exception? exception);
abstract member NotifyCertificateUsed : Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters * Microsoft.Identity.Abstractions.CredentialDescription * System.Security.Cryptography.X509Certificates.X509Certificate2 * bool * Exception -> unit
Public Sub NotifyCertificateUsed (sourceLoaderParameters As CredentialSourceLoaderParameters, certificateDescription As CredentialDescription, certificate As X509Certificate2, successful As Boolean, exception As Exception)
Parameters
- sourceLoaderParameters
- CredentialSourceLoaderParameters
The source loader parameters.
- certificateDescription
- CredentialDescription
The description of the certificate.
- certificate
- X509Certificate2
The certificate, distinct from the description in case the certificate value has changed.
- successful
- Boolean
Whether he usage was successful or a failure.
- exception
- Exception
The exception, if applicable.