localStorage. Synchronous and simple; suitable for
OAuth tokens and client registration state in single-page apps. Keys are
namespaced by a prefix to avoid collisions with other app state.
Implements
Constructors
Constructor
Parameters
prefix?
string = 'fastmcp:'
Returns
LocalStorageStore
Methods
delete()
Parameters
key
string
Returns
Promise<void>
Implementation of
get()
Parameters
key
string
Returns
Promise<string | null>
Implementation of
set()
Parameters
key
string
value
string
Returns
Promise<void>