pub fn create_clear_cookie(
name: &str,
config: &AuthConfig,
) -> AuthResult<String>Expand description
Build a Set-Cookie header value that clears an arbitrary cookie by name,
using the session config’s cookie attributes for consistency.
Mirrors the TypeScript expireCookie, which clears a cookie with Max-Age=0
while preserving its attributes, including an explicitly configured Expires.