ICredentialSourceLoader.LoadIfNeededAsync Method

Definition

Load the credential from the description, if needed.

public System.Threading.Tasks.Task LoadIfNeededAsync (Microsoft.Identity.Abstractions.CredentialDescription credentialDescription, Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters? parameters = default);
abstract member LoadIfNeededAsync : Microsoft.Identity.Abstractions.CredentialDescription * Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters -> System.Threading.Tasks.Task
Public Function LoadIfNeededAsync (credentialDescription As CredentialDescription, Optional parameters As CredentialSourceLoaderParameters = Nothing) As Task

Parameters

credentialDescription
CredentialDescription

Description of the credential.

parameters
CredentialSourceLoaderParameters

Parameters, related to the host application, that the credential source loader can use.

Returns

Applies to