Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
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 opaque access token, which Salesforce grants to a client when it successfully completes an authorization flow. Salesforce grants opaque access tokens by default. |
| 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. |
| ORG_JWT | A 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. |