ICredentialsLoader.LoadCredentialsIfNeededAsync 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.
Load a given credential description, if needed. This method will leverage the CredentialSourceLoaders to load the credentials from the description.
public System.Threading.Tasks.Task LoadCredentialsIfNeededAsync (Microsoft.Identity.Abstractions.CredentialDescription credentialDescription, Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters? parameters = default);
abstract member LoadCredentialsIfNeededAsync : Microsoft.Identity.Abstractions.CredentialDescription * Microsoft.Identity.Abstractions.CredentialSourceLoaderParameters -> System.Threading.Tasks.Task
Public Function LoadCredentialsIfNeededAsync (credentialDescription As CredentialDescription, Optional parameters As CredentialSourceLoaderParameters = Nothing) As Task
Parameters
- credentialDescription
- CredentialDescription
Description of the credentials to load.
- parameters
- CredentialSourceLoaderParameters
Parameters, related to the host application, that the credential source loader can use.