Skip to content
LogoLogo

MemorySessionStore

The default cache for verifier sessions, held in process.

Usage

const  = new (, {
  : 'https://wallet.example.org',
  : new () 
})

Sessions are keyed by { nodeUri, did, serviceId, consumerAddress }, so re-accessing the same gated service does not repeat the exchange — while switching accounts, or reaching a service hosted on another node, does. A session id means nothing to a policy server that did not mint it.

See credential-gated assets.