OIDCAuthorization#
- class gafaelfawr.models.oidc.OIDCAuthorization(**data)#
Bases:
BaseModel
Represents an authorization for an OpenID Connect client.
This is the object created during login and stored in Redis. The returned authorization code points to it and allows it to be retrieved so that an OpenID Connect client can redeem the code for a JWT.
Notes
The authorization code is represented by the
OIDCAuthorizationCode
class, which functions the same as, and has the same security properties as, aToken
.The underlying user data is not stored directly in the entry for the code. Instead, it stores the user’s token for which the code was issued, and from which the user’s data can be retrieved.
- Parameters:
data (
Any
)
Attributes Summary
The object lifetime in seconds.
Configuration for the model, should be a dictionary conforming to [
ConfigDict
][pydantic.config.ConfigDict].Attributes Documentation
- lifetime#
The object lifetime in seconds.
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [
ConfigDict
][pydantic.config.ConfigDict].