Constructors
Properties
Accessors
csrfToken
- get csrfToken(): string
Returns string
sessionId
- get sessionId(): string
Returns string
- set sessionId(value: string): void
Returns void
userId
- get userId(): string
Returns string
username
- get username(): string
Returns string
Methods
deserialize
- deserialize(cookies: string | Serialized): void
Parameters
- cookies: string | Serialized
Returns void
get
- get(key: string): null | Cookie
Returns null | Cookie
set
- set(key: string, value: string): void
Returns void
setSessionId
- setSessionId(sessionId: string): void
Returns void
toJSON
- toJSON(): Serialized
Returns Serialized
value
- value(key: string): string
Returns string
Just an alias for sessionId setter