Expand description
Authentication and identity extraction for HTTP and WebSocket connections.
This module provides functions to extract user identity from request headers, auth tokens, and WebSocket authentication messages by delegating to the engine’s AuthService for token validation.
Enums§
- Auth
Error - Authentication error types.
Functions§
- extract_
identity_ from_ auth_ header - Extract identity from HTTP Authorization header value.
- extract_
identity_ from_ ws_ auth - Extract identity from WebSocket authentication message.
Type Aliases§
- Auth
Result - Result type for authentication operations.