API v10InterfacesRESTGetAPIOAuth2CurrentAuthorizationResultVersion: 0.37.12On this pageRESTGetAPIOAuth2CurrentAuthorizationResult https://discord.com/developers/docs/topics/oauth2#get-current-authorization-informationIndex PropertiesapplicationexpiresscopesuserProperties applicationapplication: Partial<APIApplication>the current applicationexpiresexpires: stringwhen the access token expiresscopesscopes: OAuth2Scopes[]the scopes the user has authorized the application foroptionaluseruser?: APIUserthe user who has authorized, if the user has authorized with the identify scope
https://discord.com/developers/docs/topics/oauth2#get-current-authorization-information