Method GetCredentialAsync
GetCredentialAsync(CredentialRequestInfo, Boolean)
Obtains a Credential of the specified Authentication
Declaration
public Task<Credential> GetCredentialAsync(CredentialRequestInfo credentialRequestInfo, bool retry)
Parameters
Type | Name | Description |
---|---|---|
Credential |
credentialRequestInfo | The information about the credential to get. |
System. |
retry | Indicates whether this method is being called after the first attempt to authenticate failed.
This parameter affects behavior when a credential of matching Authentication |
Returns
Type | Description |
---|---|
System. |
A task object representing the asynchronous get credential operation. The value of the task result is a Credential object.
The result will be |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |