src/dazzle_back/runtime/subsystems/auth.py¶
Generated: 2026-03-30T04:38:48.393483+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
Auth routes subsystem.
Registers authentication routes (login/register/logout), social auth (OAuth2), 2FA routes, and JWT routes. Auth deps (AuthStore, AuthMiddleware, auth_dep, optional_auth_dep) are set on SubsystemContext by DazzleBackendApp._setup_auth().
Key Exports¶
AuthSubsystemstartupshutdown
Dependencies¶
Imports¶
loggingtyping.Anydazzle_back.runtime.subsystems.SubsystemContextdazzle_back.runtime.auth.create_2fa_routesdazzle_back.runtime.auth.create_auth_routesososdazzle_back.runtime.social_auth.SocialAuthConfigdazzle_back.channels.ses_webhooks.register_ses_webhookdazzle_back.runtime.jwt_auth.JWTConfigdazzle_back.runtime.jwt_auth.JWTServicedazzle_back.runtime.social_auth.SocialAuthServicedazzle_back.runtime.social_auth.create_social_auth_routesdazzle_back.runtime.token_store.TokenStore
Event Interactions¶
None detected.
Invariants and Assumptions¶
- Assert: auth_store must be set before AuthSubsystem starts
Tests¶
tests/unit/test_auth_action_handlers.pytests/unit/test_auth_events.pytests/unit/test_auth_flows.pytests/unit/test_auth_schema_exclusion.pytests/unit/test_auth_password_reset.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.