---
schema_version: "1"
id: 54ab1cd79db1a94c176203c790552913dcd0b96c871f73b28bd0e3759df14ab9
title: OauthTokenType Enum
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_enum_Auth_OauthTokenType.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_enum_Auth_OauthTokenType.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 22ad12b57f263fe87952075ca844be1067d1af2de2388e960b65f3f6e57433b3
description: Specifies the type of Salesforce-issued OAuth 2.0 token being revoked in the OauthToken.revokeToken method.
---
# 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. |