LocalStorageTokenStore
stormpath.tokenStore
Implements token storage via browser localStorage.
Attempts to retrieve a value for a given key using the localStorage API.
The name for which to retrieve a value.
Resolved with value or rejected if local storage is unsupported, or value not present.
Attempts to store a key-value pair using the localStorage API.
The name under which to store a value.
The string representation of a value.
Indication of success
Attempts to remove a value for a key from store using the localStorage API.
The name for which to remove the value.