MCPcopy
hub / github.com/cloudflare/vibesdk / clearAuthCookie

Function clearAuthCookie

worker/utils/authUtils.ts:123–129  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

121 * Clear authentication cookie using secure cookie options
122 */
123export function clearAuthCookie(name: string): string {
124 return createSecureCookie({
125 name,
126 value: '',
127 maxAge: 0,
128 });
129}
130
131/**
132 * Clear all auth cookies from response using consolidated approach

Callers 1

clearAuthCookiesFunction · 0.85

Calls 1

createSecureCookieFunction · 0.85

Tested by

no test coverage detected