Newer Version Available

This content describes an older version of this product. View Latest

OauthTokenType Enum

Specifies the type of Salesforce-issued OAuth 2.0 token being revoked in the OauthToken.revokeToken method.

Enum Values

The following are the values of the Auth.OauthTokenType enum.

Value Description
ACCESS_TOKEN An access token, which Salesforce grants to a client when it successfully completes an authorization flow.
DELETE_TOKEN A delete token, which can be queried and used to revoke refresh tokens and associated access tokens.
REFRESH_TOKEN A refresh token, which Salesforce grants to a client as a result of the refresh token flow. Refresh tokens are used to get more access tokens.