Show / Hide Table of Contents

Method RevokeTokenAsync

RevokeTokenAsync(CancellationToken)

Sends a network request to revoke OAuth refresh and access tokens.

Declaration
public async Task RevokeTokenAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task

A System.Threading.Tasks.Task that has no return value.

Remarks

This call will fail if the tokens have not been successfully revoked.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.6 - 200.7
.NET200.6 - 200.7
.NET Windows200.6 - 200.7
.NET Android200.6 - 200.7
.NET iOS200.6 - 200.7
.NET Framework200.6 - 200.7
UWP200.6 - 200.7
In This Article
Back to top Copyright © 2022 Esri.