Expand description
Comprehensive authentication and authorization integration.
This module provides deep integration with auth-framework 0.4.0, enabling seamless authentication across all mountable interfaces and web server adapters.
§Features
- Multiple Authentication Methods: JWT, API Keys, OAuth2, Passwords, TOTP
- OAuth2/OIDC Server: Full authorization server capabilities
- Multi-Factor Authentication: TOTP, SMS, Email verification
- Audit Logging: Comprehensive security event tracking
- Session Management: Secure session handling with device fingerprinting
- Rate Limiting: Built-in protection against brute force attacks
- Enterprise Features: SAML, WS-Security, Token introspection
Structs§
- Auth
Context - Central authentication context that can be shared across all mountable interfaces
- Auth
Context Config - Configuration for the authentication context
- Auth
Requirements - Authentication requirements for routes
- User
Session - User session information with enhanced auth-framework 0.4.0 features
Enums§
- Auth
Error - Authentication errors
- Auth
Middleware Result - Authentication middleware result
Traits§
- Request
Auth Ext - Extension trait to add authentication information to requests
Functions§
- auth_
middleware - Original middleware function for authentication (backward compatibility)
- enhanced_
auth_ middleware - Enhanced middleware function for authentication with auth-framework 0.4.0 features