OAuthToken
OAuth token payload used by Flet authentication flows.
Stores access/refresh token fields and expiry metadata returned by OAuth token endpoints.
Properties
Methods
Properties
access_tokeninstance-attribute
expires_atinstance-attribute
expires_ininstance-attribute
refresh_tokeninstance-attribute
scopeinstance-attribute
token_typeinstance-attribute
Methods
from_jsonstaticmethod
from_json(data: str)Deserializes a token from JSON.
Parameters:
- data (str) - JSON produced by to_json.
Returns:
- OAuthToken - A new
OAuthTokeninstance.