Expand description
Shared cookie utilities for building Set-Cookie headers.
This module centralises the session cookie construction that was previously
duplicated across every plugin (email_password, passkey, two_factor,
admin, password_management, session_management, email_verification).
Functionsยง
- create_
clear_ session_ cookie - Build a
Set-Cookieheader value that clears the session cookie. - create_
session_ cookie - Build a
Set-Cookieheader value for a session token using thecookiecrate for correct formatting and escaping.