Method RemoveAndRevokeCredentialAsync
RemoveAndRevokeCredentialAsync(Credential)
Removes the given credential from the cache and revokes its token if appropriate.
Declaration
public Task RemoveAndRevokeCredentialAsync(Credential credential)
Parameters
| Type | Name | Description |
|---|---|---|
| Credential | credential | The credential to remove from the cache and revoke its token if appropriate. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A System.Threading.Tasks.Task that represents the asynchronous removal and revoking of the credential. |
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException | A loadable credential persistence is assigned but not yet loaded. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.6 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.6 - 200.8 |
| Xamarin.Android | 100.6 - 100.15 |
| Xamarin.iOS | 100.6 - 100.15 |
| UWP | 100.6 - 200.8 |