Classes | |
| class | TotpAuthModule |
| class | TotpSetupFlow |
Functions | |
| str | _generate_qr_code (str data) |
| tuple[str, str, str] | _generate_secret_and_qr_code (str username) |
Variables | |
| CONFIG_SCHEMA = MULTI_FACTOR_AUTH_MODULE_SCHEMA.extend({}, extra=vol.PREVENT_EXTRA) | |
| string | DUMMY_SECRET = "FPPTH34D4E3MI2HG" |
| string | INPUT_FIELD_CODE = "code" |
| list | REQUIREMENTS = ["pyotp==2.8.0", "PyQRCode==1.2.1"] |
| string | STORAGE_KEY = "auth_module.totp" |
| string | STORAGE_OTA_SECRET = "ota_secret" |
| string | STORAGE_USER_ID = "user_id" |
| string | STORAGE_USERS = "users" |
| int | STORAGE_VERSION = 1 |
Time-based One Time Password auth module.
|
private |
|
private |
| homeassistant.auth.mfa_modules.totp.CONFIG_SCHEMA = MULTI_FACTOR_AUTH_MODULE_SCHEMA.extend({}, extra=vol.PREVENT_EXTRA) |
| string homeassistant.auth.mfa_modules.totp.DUMMY_SECRET = "FPPTH34D4E3MI2HG" |
| string homeassistant.auth.mfa_modules.totp.INPUT_FIELD_CODE = "code" |
| list homeassistant.auth.mfa_modules.totp.REQUIREMENTS = ["pyotp==2.8.0", "PyQRCode==1.2.1"] |
| string homeassistant.auth.mfa_modules.totp.STORAGE_KEY = "auth_module.totp" |
| string homeassistant.auth.mfa_modules.totp.STORAGE_OTA_SECRET = "ota_secret" |
| string homeassistant.auth.mfa_modules.totp.STORAGE_USER_ID = "user_id" |
| string homeassistant.auth.mfa_modules.totp.STORAGE_USERS = "users" |