Partager via


ICredentialsLoader.ResetCredentials Method

Definition

Resets resettable credentials in the credential description list (for instance reset the certificates so that they can be re-loaded again) Use, for example, before a retry.

public void ResetCredentials (System.Collections.Generic.IEnumerable<Microsoft.Identity.Abstractions.CredentialDescription> credentialDescriptions);
abstract member ResetCredentials : seq<Microsoft.Identity.Abstractions.CredentialDescription> -> unit
Public Sub ResetCredentials (credentialDescriptions As IEnumerable(Of CredentialDescription))

Parameters

credentialDescriptions
IEnumerable<CredentialDescription>

Description of the credentials.

Remarks

This method is, for instance, used, in Microsoft.Identity.Web to automatically reload the certificates from KeyVault, when the certificate was rotated in Azure AD.

Applies to