1.1.2 • Published 4 years ago
@jamliu/cognito-auth v1.1.2
Cognito Auth Package
Auth package to abstract current get cognito token, logout, and oauth response token workflows
Features
- Provides getCognitoToken and oauthResponse functions to be called using request supplemented function parameters
- Provides logout function to be called using traditional request parameters
Installing
Using npm:
$ npm install @jamliu/cognito-auth.git
Docs
getCognitoToken (async function)
PARAMS { Cognito ID User Agent { Client ID } }
logout
PARAMS Request
RESPONSE String