TokenData#
- class gafaelfawr.models.token.TokenData(**data)#
Bases:
TokenBase
,TokenUserInfo
Data about a token stored in Redis.
This holds all the token information stored in Redis, and thus all the token information required to support authentication decisions and (currently) user information queries. It should not be used directly as a response model; for that, see
TokenInfo
andTokenUserInfo
.- Parameters:
data (
Any
)
Attributes Summary
Configuration for the model, should be a dictionary conforming to [
ConfigDict
][pydantic.config.ConfigDict].Methods Summary
Build authentication data for the bootstrap token.
Build authentication data for the internal token.
Attributes Documentation
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [
ConfigDict
][pydantic.config.ConfigDict].
Methods Documentation