revokeToken
FunctionrevokeToken(requestOptions: IRevokeTokenOptions): 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
Parameter | Type |
---|---|
request | IRevokeTokenOptions |
Returns
Promise<IRevokeTokenResponse>