Cookie Helper

Properties

keyPrefix

keyPrefix: string


sdk

sdk: ConvergeSdk

Methods

get()

get(cookieName): null | string

Parameters

cookieName: string

Returns

null | string


getByNamePrefix()

getByNamePrefix(cookieNamePrefix): string[]

Parameters

cookieNamePrefix: string

Returns

string[]


getSeekaScopedByNamePrefix()

getSeekaScopedByNamePrefix(cookieNamePrefix): string[]

Parameters

cookieNamePrefix: string

Returns

string[]


getSeekaScopedCookie()

getSeekaScopedCookie(cookieName): null | string

Parameters

cookieName: string

Returns

null | string


set()

set(cookieName, val, days?): void

Parameters

cookieName: string

val: unknown

days?: number

Returns

void


setSeekaScoped()

setSeekaScoped(cookieName, val, days?): void

Parameters

cookieName: string

val: unknown

days?: number

Returns

void