Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TokenCache

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new TokenCache(maxEntries?: number, cleanInterval?: number): TokenCache

Properties

Static MAX_ENTRIES

MAX_ENTRIES: 100000 = 100000

Methods

get

  • get(key: string): Token | undefined

set

  • set(key: string, value: Token): void