Show / Hide Table of Contents

Method RevokeTokenAsync

RevokeTokenAsync(CancellationToken)

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

Declaration
public Task RevokeTokenAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task

A Task with 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.8
.NET200.6 - 300.0
.NET Windows200.6 - 300.0
.NET Android200.6 - 300.0
.NET iOS200.6 - 300.0
.NET Framework200.6 - 200.8
UWP200.6 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.