DiscordTokenExchangeAuthorizationCode
Documentation / @discordeno/types / DiscordTokenExchangeAuthorizationCode
Interface: DiscordTokenExchangeAuthorizationCode
Defined in: discord/oauth2.ts:139
https://docs.discord.com/developers/topics/oauth2#authorization-code-grant-redirect-url-example
Properties
code
code:
string
Defined in: discord/oauth2.ts:142
The code for the token exchange
code_verifier?
optionalcode_verifier?:string
Defined in: discord/oauth2.ts:146
The code verifier for the token exchange if one was sent during the authorization request
grant_type
grant_type:
"authorization_code"
Defined in: discord/oauth2.ts:140
redirect_uri
redirect_uri:
string
Defined in: discord/oauth2.ts:144
The redirect_uri associated with this authorization