deps
Dependency injection for FastAPI routes.
AuthSettings
Auth configuration loaded from environment variables.
get_current_user_id
get_current_user_id(
credentials: HTTPAuthorizationCredentials | None = Depends(_security),
miam_auth_token: str | None = Cookie(default=None),
settings: AuthSettings = Depends(get_auth_settings),
) -> UUID
Extract and validate the JWT from the HttpOnly cookie or Authorization header.