src/dazzle_back/runtime/recovery_codes.py¶
Generated: 2026-03-30T04:38:47.920088+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
Recovery code generation and storage for two-factor authentication.
Recovery codes are one-time-use backup codes that allow users to regain access when they lose their TOTP device.
Key Exports¶
generate_recovery_codesRecoveryCodeStoreinit_dbstore_codesverify_coderemaining_count
Dependencies¶
Imports¶
hashlibhmacsecretsdatetime.UTCdatetime.datetimetyping.Anyuuid.UUIDpsycopgpsycopg.rows.dict_row
Event Interactions¶
None detected.
Invariants and Assumptions¶
No invariants documented.
Tests¶
tests/integration/test_runtime_e2e.pytests/integration/test_runtime_pipeline.pytests/unit/test_runtime_test_routes.pytests/unit/test_runtime_services.pytests/unit/test_runtime_mcp_tools.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.