@adobe/aio-app-auth-cache
An Openwhisk action exposing a cache interface
Last updated a year ago by himar .
Apache-2.0 · Original npm · Tarball · package.json
$ cnpm install @adobe/aio-app-auth-cache 
SYNC missed versions from official npm registry.

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 <IntegrationID>:oauth:<IMS UserID> 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.

Current Tags

  • 1.0.1                                ...           latest (a year ago)

1 Versions

  • 1.0.1                                ...           a year ago

Copyright 2014 - 2017 © taobao.org |