revokeToken

revokeToken

revokeToken(requestOptionsIRevokeTokenOptions): Promise<IRevokeTokenResponse>

Revokes a token generated via any oAuth 2.0 method. token can be either a refresh token OR an access token. If you are using ArcGISIdentityManager you should use ArcGISIdentityManager.destroy instead. Cannot revoke API keys or tokens generated by ApplicationCredentialsManager.

See revokeToken on the ArcGIS REST API for more details.

Parameters
ParameterType
requestOptions
IRevokeTokenOptions
Returns 
Promise<IRevokeTokenResponse>

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.