live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/auth-core


@orangecheck/auth-core / clearSessionCookieHeader

Function: clearSessionCookieHeader()

function clearSessionCookieHeader(opts?: Pick<CookieOptions, "domain" | "path" | "secure">): string;

Defined in: src/index.ts:226

Clear the session cookie. Must match the Domain used when it was set.

Parameters

ParameterType
optsPick&lt;CookieOptions, "domain" | "path" | "secure">

Returns

string