interface RESTGetAPIOAuth2CurrentAuthorizationResult

external
export interface RESTGetAPIOAuth2CurrentAuthorizationResult

https://discord.com/developers/docs/topics/oauth2#get-current-authorization-information

external
application : Partial<APIApplication>

the current application

external
expires : string

when the access token expires

external
scopes : OAuth2Scopes[]

the scopes the user has authorized the application for

optionalexternal
user? : APIUser

the user who has authorized, if the user has authorized with the identify scope