OauthTokenType Enum

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

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

ValueDescription
ACCESS_TOKENAn opaque access token, which Salesforce grants to a client when it successfully completes an authorization flow. Salesforce grants opaque access tokens by default.
DELETE_TOKENA delete token, which can be queried and used to revoke refresh tokens and associated access tokens.
REFRESH_TOKENA 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.
ORG_JWTA JSON Web Token (JWT)-based access token, which Salesforce grants to a client when it successfully completes an authorization flow. Salesforce grants JWT-based access tokens if you enable them for a connected app or external client app.