TokenInfo#

class gafaelfawr.models.token.TokenInfo(*, username, token_type, service=None, scopes, created=<factory>, expires=None, token, token_name=None, last_used=None, parent=None)#

Bases: TokenBase

Information about a token.

All information about the token that’s stored in the underlying database. It includes some fields not present in Redis.

Parameters:

Attributes Summary

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Attributes Documentation

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].