DiscordCurrentAuthorization
Documentation / @discordeno/types / DiscordCurrentAuthorization
Interface: DiscordCurrentAuthorization
Defined in: discord/oauth2.ts:201
Properties
application
application:
DiscordApplication
Defined in: discord/oauth2.ts:202
expires
expires:
string
Defined in: discord/oauth2.ts:206
when the access token expires
scopes
scopes:
OAuth2Scope[]
Defined in: discord/oauth2.ts:204
the scopes the user has authorized the application for
user?
optionaluser?:DiscordUser
Defined in: discord/oauth2.ts:208
the user who has authorized, if the user has authorized with the identify scope