auth library

Authentication

Classes

AuthManager
Authentication manager
AuthMiddleware
Authentication middleware
AuthResult
Authentication result
Guard
Base interface for authentication guards
JWT
JWT token
JwtGuard
JWT-based authentication guard
Password
Password utilities using bcrypt for secure password hashing
Session
User session
SessionGuard
Session-based authentication guard

Extensions

AuthContext on Request
Extension for easy access to auth data