User authentication with credential flows, sessions, and pluggable auth handlers.
Manages request-level authentication. Discovers auth handlers via #[AsAuthHandler], chains them per strategy (first_match, collect, required), and stores the authenticated principal in coroutine-safe context.
Depends on semitexa/core. Depended on by semitexa/authorization, semitexa/api, and platform packages. Auth resolves identity; access control decisions are delegated to downstream packages.
#[AsAuthHandler]attribute for automatic handler discovery- Strategy-based handler chaining: first_match, collect, required
AuthBootstrapperorchestrating per-request authentication- Coroutine-safe
AuthContextStorefor Swoole environments SessionAuthHandleras the default implementationAuthenticatableInterfacecontract for principal types
Auth resolves identity only. Access control decisions are handled by semitexa/authorization.