WhoIsSerializer
Overview
This is a serializer for the current user, it is simpler than the other user serializers.
These fields give the user information about themselves, after they login or when they return to the site.
auth_pending_flow names the reauthentication flow the session owes: mfa_reauthenticate for a user with an MFA authenticator, reauthenticate for a user with only a password, or None when the session completed that flow within ACCOUNT_REAUTHENTICATION_TIMEOUT or the account has nothing to confirm. It comes from vueda.core.reauthentication, the same policy recent_auth_required enforces, so the client shows the form the server will accept.
Meta
Source
server/vueda/user/serializers.py:85
get_auth_pending_flow
Signature
get_auth_pending_flow(self, _)
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| self | yes | |||
| _ | yes |
Returns
str | None
Source
server/vueda/user/serializers.py:111
get_fields
Return fields after applying constructor-sourced flex-fields options.
Signature
get_fields(self)
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| self | yes |
Source
server/vueda/user/serializers.py:97
auth_pending_flow
groups
Source
server/vueda/user/serializers.py:69