Structs§
- Session
Config - Configuration for session lifecycle and cookie generation.
Functions§
- generate_
token - Generate a cryptographically random session token.
- hash_
token - Hash a session token with SHA-256.
- parse_
session_ cookie - Extract the session token from a
Cookieheader value. - session_
cookie - Build a
Set-Cookieheader value for the given session token.