Authentication & Authorization

Core dependencies and utilities for handling user identity and access control.

Token Validation & Configuration

app.domain.users.auth.claims_registry = JWTClaimsRegistry(exp=True, iat=True)

This registry defines the mandatory claims required for every JWT processed by the system. Any token lacking these claims will be rejected with an UnauthorizedException.

Authentication Dependencies

The Authenticate class provides factory methods that act as FastAPI dependencies.

Internal Data Loading