Class: RedisCTIStore

RedisCTIStore()

Redis based store for tracking token usage

Constructor

new RedisCTIStore()

Classes

RedisCTIStore

Methods

(async) getTokenCount()

Get the number of times a token has been stored

(async) getTokenCount(token) → {Promise.<number>}

Get the number of times a token has been stored
Parameters:
Name Type Description
token CommonAccessToken
Returns:
Type
Promise.<number>

(async) storeToken()

Store a token in the store and return the number of times the token has been stored

(async) storeToken(token) → {Promise.<number>}

Store a token in the store and return the number of times the token has been stored
Parameters:
Name Type Description
token CommonAccessToken
Returns:
Type
Promise.<number>