Class: FileTokenStore
Defined in: src/auth/file-token-store.ts:32
Keeps the session in a JSON file with mode 0600 (on Windows the mode does not apply: the directory's
ACL, such as %APPDATA%'s, protects it).
Default .signoz-session.json, in .gitignore.
Implements
Constructors
Constructor
new FileTokenStore(
path?):FileTokenStore
Defined in: src/auth/file-token-store.ts:33
Parameters
path?
string = ".signoz-session.json"
Returns
FileTokenStore
Properties
path
readonlypath:string=".signoz-session.json"
Defined in: src/auth/file-token-store.ts:33
Methods
load()
load():
StoredSession|null
Defined in: src/auth/file-token-store.ts:35
Returns
StoredSession | null
Implementation of
save()
save(
session):void
Defined in: src/auth/file-token-store.ts:59
Parameters
session
Returns
void