archery/core/auth/auth_session library
Classes
- AuthSession
- Represents an authenticated user session backed by both persistent storage and an in-memory session registry.
- GuestSession
- Middleware guard for routes intended only for guests (unauthenticated users).
- Session
- Guest session record used for unauthenticated visitors.
Extensions
- PasswordHashing on Auth
- Adds password hashing helpers related to authentication.
Functions
-
authRoutes(
Router router) → void -
Registers Archery's built-in authentication routes onto the provided
router.
Typedefs
- Auth = AuthSession
- Alias for AuthSession.
- Guest = GuestSession
- Alias for GuestSession.