Token Objects
- class discord.ext.oauth.token.AccessTokenResponse(*, data: dict)
A class representing an Access Token Response sent by the OAuth2 API.
- token
The access token for the authenticated user
- Type
str
- token_type
The type of access token
- Type
str
- expires_in
The seconds representation for when the token will expire
- Type
int
- refresh_token
The refresh token authenticating you to refresh this access token
- Type
str
- scope
The scope/s this access token gives data for
- Type
str
- expires_at
The datetime representation for when the token will expire
- Type
datetime