RESTGetAPIOAuth2CurrentAuthorizationResult

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

Signature

export interface RESTGetAPIOAuth2CurrentAuthorizationResult

Properties

4

Methods

0

No methods.

Properties

expires: string;

when the access token expires

user?: APIUser;

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