Behaviour for persisting the auth token across Picnic.Session restarts.
The store is purely functional: the session holds the store's state and threads it through these callbacks, so an implementation can be anything from a value held in memory to an ETS table, a file, or a database row.
The default is Picnic.Session.TokenStore.Memory.
Summary
Callbacks
Returns a previously stored token, or :error if there is none.
Builds the store's initial state from the options given to the session.
Stores a freshly obtained token, returning the updated store state.
Callbacks
Returns a previously stored token, or :error if there is none.
Builds the store's initial state from the options given to the session.
Stores a freshly obtained token, returning the updated store state.