CustomerSessionStore
type CustomerSessionStore = object;The client reads the store once when it is created. subscribe reports changes made elsewhere,
such as in another tab; the client adopts them without writing them back.
Methods
clear()
clear(scope): void;Parameters
scope
read()
read(scope):
| {
accessToken: string;
customerId: string;
projectId?: string;
refreshToken: string;
sandboxMode: boolean;
}
| null;Parameters
scope
subscribe()?
subscribe?(onChange, scope): () => void;Parameters
onChange
(session) => void
scope
write()
write(session, scope): void;Parameters
session
accessToken
string = ...
customerId
string = ...
projectId?
string = ...
refreshToken
string = ...
sandboxMode
boolean = ...
scope
Last updated on