Represents an ApiTokenStore that saves the token as a JSON string
in the localStorage of the Browser.
Trying to use this class when window.localStorage is not a function
(like in a Node.js environment) will throw an error at construction
time. Use another implementation. If this error is thrown nonetheless
in your Browser, local storage is probably not supported there.
It is persisted in the local storage of the Browser it will be picked up
upon restart of the Browser tab.
Represents an ApiTokenStore that saves the token as a JSON string in the
localStorage
of the Browser.Trying to use this class when
window.localStorage
is not a function (like in a Node.js environment) will throw an error at construction time. Use another implementation. If this error is thrown nonetheless in your Browser, local storage is probably not supported there.It is persisted in the local storage of the Browser it will be picked up upon restart of the Browser tab.