🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

@adobe/aio-app-auth-cache

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adobe/aio-app-auth-cache

An Openwhisk action exposing a cache interface

1.0.1
latest
Version published
Maintainers
58
Created

Build Status License

This module is an OW action to store access tokens.

Usage

This can be used to store access tokens and the corresponding expiry dates. Some important terminology is listed below. profileID is :oauth: provider is "adobe" for IMS accessToken is either the user accessToken or service token as per IMS terminilogy Call the action with any of the following combinations for the described functionality.

Storing

Takes three mandatory parameters and stores the tokens in dynamodb.

profileID
provider
accessToken

Retrieving

Takes two mandatory parameters and returns the corresponding accessToken.

profileID
provider

Deleting

Takes two mandatory parameters and deletes the corresponding accessToken.

profileID
provider

Contributing

Contributions are welcomed! Read the Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.

FAQs

Package last updated on 04 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts