LoginFailureEvent¶
- pydantic model gafaelfawr.events.LoginFailureEvent¶
User authentication failed.
A login fails at the Gafaelfawr end, meaning that either something went wrong in Gafaelfawr itself, with the request to the remote authentication service, or via an error reported by the remote authentication service. This does not count cases where the authentication service never returns the user to us.
- Parameters:
data (
Any
)
Show JSON schema
{ "title": "LoginFailureEvent", "description": "User authentication failed.\n\nA login fails at the Gafaelfawr end, meaning that either something went\nwrong in Gafaelfawr itself, with the request to the remote authentication\nservice, or via an error reported by the remote authentication service.\nThis does not count cases where the authentication service never returns\nthe user to us.", "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
- Parameters:
data (
Any
)- Return type:
AvroBaseModel
- serialize(serialization_type='avro')¶
Overrides the base AvroModel’s serialize method to inject this class’s standardization factory method