pub fn generate_token() -> SessionTokenExpand description
Generate a cryptographically random session token.
Fills 32 bytes from the OS random source and encodes them as base64url without padding, producing a 43-character string.
pub fn generate_token() -> SessionTokenGenerate a cryptographically random session token.
Fills 32 bytes from the OS random source and encodes them as base64url without padding, producing a 43-character string.