APILoginResponse#
- class gafaelfawr.models.auth.APILoginResponse(*, csrf, username, scopes, config)#
Bases:
BaseModelResponse to an API login request.
The Squareone UI visits the
/auth/api/v1/loginroute 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).Attributes Summary
Configuration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].Attributes Documentation