|
| None | __init__ (self, HomeAssistant hass, dict[str, Any] config) |
| |
| None | async_depose_user (self, str user_id) |
| |
| bool | async_is_user_setup (self, str user_id) |
| |
| SetupFlow | async_setup_flow (self, str user_id) |
| |
| Any | async_setup_user (self, str user_id, Any setup_data) |
| |
| bool | async_validate (self, str user_id, dict[str, Any] user_input) |
| |
| vol.Schema | input_schema (self) |
| |
| vol.Schema | setup_schema (self) |
| |
Example auth module validate pin.
Definition at line 29 of file insecure_example.py.
◆ __init__()
| None homeassistant.auth.mfa_modules.insecure_example.InsecureExampleModule.__init__ |
( |
|
self, |
|
|
HomeAssistant |
hass, |
|
|
dict[str, Any] |
config |
|
) |
| |
◆ async_depose_user()
| None homeassistant.auth.mfa_modules.insecure_example.InsecureExampleModule.async_depose_user |
( |
|
self, |
|
|
str |
user_id |
|
) |
| |
◆ async_is_user_setup()
| bool homeassistant.auth.mfa_modules.insecure_example.InsecureExampleModule.async_is_user_setup |
( |
|
self, |
|
|
str |
user_id |
|
) |
| |
◆ async_setup_flow()
| SetupFlow homeassistant.auth.mfa_modules.insecure_example.InsecureExampleModule.async_setup_flow |
( |
|
self, |
|
|
str |
user_id |
|
) |
| |
Return a data entry flow handler for setup module.
Mfa module should extend SetupFlow
Definition at line 49 of file insecure_example.py.
◆ async_setup_user()
| Any homeassistant.auth.mfa_modules.insecure_example.InsecureExampleModule.async_setup_user |
( |
|
self, |
|
|
str |
user_id, |
|
|
Any |
setup_data |
|
) |
| |
◆ async_validate()
| bool homeassistant.auth.mfa_modules.insecure_example.InsecureExampleModule.async_validate |
( |
|
self, |
|
|
str |
user_id, |
|
|
dict[str, Any] |
user_input |
|
) |
| |
◆ input_schema()
| vol.Schema homeassistant.auth.mfa_modules.insecure_example.InsecureExampleModule.input_schema |
( |
|
self | ) |
|
◆ setup_schema()
| vol.Schema homeassistant.auth.mfa_modules.insecure_example.InsecureExampleModule.setup_schema |
( |
|
self | ) |
|
◆ _data
| homeassistant.auth.mfa_modules.insecure_example.InsecureExampleModule._data |
|
private |
◆ DEFAULT_TITLE
| string homeassistant.auth.mfa_modules.insecure_example.InsecureExampleModule.DEFAULT_TITLE = "Insecure Personal Identify Number" |
|
static |
The documentation for this class was generated from the following file: