TokenBase#
- class gafaelfawr.models.token.TokenBase(*, username, token_type, service=None, scopes, created=<factory>, expires=None)#
Bases:
BaseModelBase information about a token common to several representations.
This is the information that’s common to the Redis and database representations of the token.
- Parameters:
Attributes Summary
Configuration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].Attributes Documentation