Show / Hide Table of Contents

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
TargetVersions
.NET Standard 2.0100.6 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.6 - 200.8
Xamarin.Android100.6 - 100.15
Xamarin.iOS100.6 - 100.15
UWP100.6 - 200.8
In This Article
Back to top Copyright © 2022 Esri.