AllAuthRecoveryCodesView
Overview
View (GET) or regenerate (POST) the signed-in user's recovery codes, after the reauthentication VUEDA requires.
The session must hold a recent record of the user's required flow, the same check recent_auth_required applies, so a user with an MFA authenticator must have confirmed a second factor. Otherwise the view returns allauth's 401 reauthentication response, which lists the available flows. Every other response keeps allauth's format.
handle
Signature
handle(self, request, args, kwargs)
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| self | yes | |||
| request | yes | |||
| args | no | |||
| kwargs | no |
Source
server/vueda/user/views.py:771
Source
server/vueda/user/views.py:761