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
Restricts routes such as login and registration to unauthenticated visitors.
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.