Classes | |
| class | NotifyAuthModule |
| class | NotifySetting |
| class | NotifySetupFlow |
Functions | |
| str | _generate_otp (str secret, int count) |
| int | _generate_random () |
| str | _generate_secret () |
| bool | _verify_otp (str secret, str otp, int count) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| _UsersDict | |
| string | CONF_MESSAGE = "message" |
| CONFIG_SCHEMA | |
| string | INPUT_FIELD_CODE = "code" |
| list | REQUIREMENTS = ["pyotp==2.8.0"] |
| string | STORAGE_KEY = "auth_module.notify" |
| string | STORAGE_USER_ID = "user_id" |
| string | STORAGE_USERS = "users" |
| int | STORAGE_VERSION = 1 |
HMAC-based One-time Password auth module. Sending HOTP through notify service
|
private |
|
private |
|
private |
|
private |
|
private |
| string homeassistant.auth.mfa_modules.notify.CONF_MESSAGE = "message" |
| homeassistant.auth.mfa_modules.notify.CONFIG_SCHEMA |
| string homeassistant.auth.mfa_modules.notify.INPUT_FIELD_CODE = "code" |
| list homeassistant.auth.mfa_modules.notify.REQUIREMENTS = ["pyotp==2.8.0"] |
| string homeassistant.auth.mfa_modules.notify.STORAGE_KEY = "auth_module.notify" |
| string homeassistant.auth.mfa_modules.notify.STORAGE_USER_ID = "user_id" |
| string homeassistant.auth.mfa_modules.notify.STORAGE_USERS = "users" |