Skip to content

src/dazzle_back/runtime/auth/models.py

Generated: 2026-03-30T04:38:46.906151+00:00

Commit: 615f1354a103

Language: python

Scope: dazzle_back

Purpose

Pydantic models for authentication.

Key Exports

  • UserRecord
  • SessionRecord
  • AuthContext
  • LoginRequest
  • RegisterRequest
  • ChangePasswordRequest
  • ForgotPasswordRequest
  • ResetPasswordRequest
  • TwoFactorVerifyRequest
  • TwoFactorSetupRequest
  • TokenRequest
  • RefreshTokenRequest
  • TokenRevokeRequest
  • two_factor_enabled
  • user_id

Dependencies

Imports

  • secrets
  • datetime.UTC
  • datetime.datetime
  • uuid.UUID
  • uuid.uuid4
  • pydantic.BaseModel
  • pydantic.ConfigDict
  • pydantic.Field

Event Interactions

None detected.

Invariants and Assumptions

No invariants documented.

Tests

  • tests/llm/test_models.py
  • tests/unit/sentinel/test_models.py
  • tests/unit/test_param_models.py
  • tests/unit/test_qa_models.py
  • tests/unit/test_journey_models.py

Notes

This page was automatically generated by tools/gen_reference_docs.py.