OIDCToken#
- class gafaelfawr.models.oidc.OIDCToken(**data)#
Bases:
BaseModel
Holds an encoded JWT.
Notes
Tokens come in two forms: the encoded form, with is suitable for passing in HTTP calls and includes a signature that may not be validated; and the validated and decoded form, which is a dict of claims.
This class represents a token that we have in at least encoded form, but which may not be validated. The child class OIDCValidatedToken represents the other case.
- Parameters:
data (
Any
)
Attributes Summary
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].