Handler for the setup flow.
Definition at line 177 of file totp.py.
◆ __init__()
| None homeassistant.auth.mfa_modules.totp.TotpSetupFlow.__init__ |
( |
|
self, |
|
|
TotpAuthModule |
auth_module, |
|
|
vol.Schema |
setup_schema, |
|
|
User
|
user |
|
) |
| |
Initialize the setup flow.
Definition at line 185 of file totp.py.
◆ async_step_init()
| FlowResult homeassistant.auth.mfa_modules.totp.TotpSetupFlow.async_step_init |
( |
|
self, |
|
|
dict[str, str] | None |
user_input = None |
|
) |
| |
Handle the first step of setup flow.
Return self.async_show_form(step_id='init') if user_input is None.
Return self.async_create_entry(data={'result': result}) if finish.
Definition at line 192 of file totp.py.
◆ _user
| homeassistant.auth.mfa_modules.totp.TotpSetupFlow._user |
|
private |
The documentation for this class was generated from the following file:
- core/homeassistant/auth/mfa_modules/totp.py