TokenStore
stormpath.tokenStore
A token store implementation. It allows simple key-value pair storing, fetching, and deleting. Its methods may be synchronous, but must always return promises.
Retrieves a value from a key-value store.
The name for which to retrieve a value.
The resolved value retrieved from the store, or a rejection with a reason.
Stores a string value in a key-value store.
The name under which to store a value.
The string representation of a value.
Indication of success
Remove a value from a key-value store.
The name for which to remove a value.
Indication of success. Should resolve if there is no value to remove.