NoopSessionCacheStrategy

NoopSessionCacheStrategy

NoopSessionCacheStrategy

A cache that doesn’t cache. The cache lookup will miss every time so the session will always be taken from the database.

Signature

class NoopSessionCacheStrategy implements SessionCacheStrategy {
  clear() => ;
  delete(sessionToken: string) => ;
  get(sessionToken: string) => ;
  set(session: CachedSession) => ;
}

Implements

Members

clear

method
type:
() =>

delete

method
type:
(sessionToken: string) =>

get

method
type:
(sessionToken: string) =>

set

method
type:
(session: CachedSession) =>