Token¶
- class pyniryo_nate.models.auth.Token(id: UUID, expires_at: datetime, created_at: datetime, token: str = '')[source]¶
Bases:
TokenInfoRepresents an authentication token, with the secret the robot hands out once, on login or on creation.
- Parameters:
token (str) – The token string used for authentication.
id (UUID)
expires_at (datetime)
created_at (datetime)
Attributes
idexpires_atcreated_atMethods
- token: str = ''¶