@adobe/aio-app-auth-cache

1.0.1 • Public • Published

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.

Package Sidebar

Install

npm i @adobe/aio-app-auth-cache

Weekly Downloads

4

Version

1.0.1

License

Apache-2.0

Unpacked Size

33.6 kB

Total Files

18

Last publish

Collaborators

  • dylandepass
  • djaeggi
  • adobehalls
  • fullcolorcoder
  • marbec
  • tripod
  • garthdb
  • lazd
  • adobe-admin
  • patrickfulton
  • trieloff
  • shazron
  • krisnye
  • dcpfsdk
  • natebaldwin
  • devongovett
  • aspro83
  • symanovi
  • dpfister
  • stefan-guggisberg
  • korra
  • rofe
  • kptdobe