Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

adobe/aio-app-auth-cache

Version Downloads/week 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: the provider is "adobe" for IMS accessToken is either the user accessToken or service token as per IMS terminology 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.