This package has been deprecated

Author message:

Moved to @forgerock/openam-agent-cache

openam-agent-cache

1.1.0 • Public • Published

openam-agent-cache

Abstract cache for the OpenAM Policy Agent for NodeJS

Implement this class to use your own cache with any backed with the node-openam-policy-agent

API Docs

Cache

Kind: global abstract class

new Cache()

Abstract Cache class

cache.get(key) ⇒ Promise

Get a single cached item If the entry is not found, reject

Kind: instance method of Cache

Param Type
key string

cache.put(key, value) ⇒ Promise

Store a single cached item (overwrites existing)

Kind: instance method of Cache

Param Type
key string
value *

cache.remove(key) ⇒ Promise

Remove a single cached item

Kind: instance method of Cache

Param Type
key string

cache.quit() ⇒ Promise

Closes the client connection

Kind: instance method of Cache

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i openam-agent-cache

    Weekly Downloads

    3

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • tarcsayzoltan