Skip to main content

DiscordTokenRevocation

@discordeno/bot


Documentation / @discordeno/bot / DiscordTokenRevocation

Interface: DiscordTokenRevocation

Defined in: packages/types/dist/types/discord/oauth2.d.ts:176

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

Properties

token

token: string

Defined in: packages/types/dist/types/discord/oauth2.d.ts:178

The access token to revoke


token_type_hint?

optional token_type_hint: "access_token" | "refresh_token"

Defined in: packages/types/dist/types/discord/oauth2.d.ts:180

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