Skip to main content

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) => ;
}

clear

method
() =>

delete

method
(sessionToken: string) =>

get

method
(sessionToken: string) =>

set

method
(session: CachedSession) =>