Skip to content

Token

eternaltwin.tokens.Token

Token(*, access_token: str, expires_in: int, token_type: str, refresh_token: str = None)

Hold information about a token received from the authorization endpoint.

has_expired

has_expired() -> bool

Check if the token has expired.