MCPcopy Create free account
hub / github.com/AlexErrant/Pentive / constructor

Method constructor

hub/src/cookieManager.ts:119–121  ·  view source on GitHub ↗
(name: string, cookieOptions: MaxAgeOverExpires)

Source from the content-addressed store, hash-verified

117
118export class SignedCookieManager {
119 constructor(name: string, cookieOptions: MaxAgeOverExpires) {
120 this.cm = new CookieManager(name, { ...cookieOptions, encode: (x) => x })
121 }
122
123 cm: CookieManager
124

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected