LoginAttemptEvent¶
- pydantic model gafaelfawr.events.LoginAttemptEvent¶
User attempted to log in and was directed to the identity provider.
Records instances where Gafaelfawr sends the user to the identity provider for authentication. This does not include duplicate redirects when the given user already has an authentication in progress.
- Parameters:
data (
Any
)
Show JSON schema
{ "title": "LoginAttemptEvent", "description": "User attempted to log in and was directed to the identity provider.\n\nRecords instances where Gafaelfawr sends the user to the identity provider\nfor authentication. This does not include duplicate redirects when the\ngiven user already has an authentication in progress.", "type": "object", "properties": {} }
- asdict()¶
Returns this model in dictionary form. This method differs from pydantic’s dict by converting all values to their Avro representation. It also doesn’t provide the exclude, include, by_alias, etc. parameters that dict provides.
- classmethod fake(**data)¶
Creates a fake instance of the model.
- Attributes:
data: Dict[str, Any] represent the user values to use in the instance
- serialize(serialization_type='avro')¶
Overrides the base AvroModel’s serialize method to inject this class’s standardization factory method