Skip to main content

DiscordTokenRevocation

Documentation


Documentation / @discordeno/types / DiscordTokenRevocation

Interface: DiscordTokenRevocation

Defined in: discord/oauth2.ts:186

https://docs.discord.com/developers/topics/oauth2#authorization-code-grant-token-revocation-example

Properties

token

token: string

Defined in: discord/oauth2.ts:188

The access token to revoke


token_type_hint?

optional token_type_hint?: "refresh_token" | "access_token"

Defined in: discord/oauth2.ts:190

Optional, the type of token you are using for the revocation