@orangecheck/auth-core / readAllSessionCookies
Function: readAllSessionCookies()
function readAllSessionCookies(cookieHeader: string | null | undefined): string[];
Defined in: index.ts:440
Read EVERY oc_session value out of a raw Cookie: header string.
Multiple same-name cookies are legitimate (e.g. a stale host-scoped
cookie shadowing the Domain=.ochk.io one) — verification should
try each rather than trust ordering.
Parameters
| Parameter | Type |
|---|---|
cookieHeader | string | null | undefined |
Returns
string[]