APILoginResponse#

class gafaelfawr.models.auth.APILoginResponse(**data)#

Bases: BaseModel

Response to an API login request.

The JavaScript UI visits the /auth/api/v1/login route to get a CSRF token and metadata about the currently-authenticated user from the session cookie (which the UI doesn’t have the keys to read).

Parameters:

data (Any) –