Home Assistant Unofficial Reference 2024.12.1
totp.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.auth.mfa_modules.totp.TotpAuthModule
 
class  homeassistant.auth.mfa_modules.totp.TotpSetupFlow
 

Namespaces

 homeassistant.auth.mfa_modules.totp
 

Functions

str homeassistant.auth.mfa_modules.totp._generate_qr_code (str data)
 
tuple[str, str, str] homeassistant.auth.mfa_modules.totp._generate_secret_and_qr_code (str username)
 

Variables

 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"
 
int homeassistant.auth.mfa_modules.totp.STORAGE_VERSION = 1