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

    Keywords

    none

    Install

    npm i openam-agent-cache

    DownloadsWeekly Downloads

    0

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • tarcsayzoltan