Package Exports
- amazon-cognito-identity-js-node
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (amazon-cognito-identity-js-node) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Amazon Cognito Identity SDK for JavaScript for Node.js
This module is a fork of amazon-cognito-identity-js and applicable to Node.js
Install
npm install amazon-cognito-identity-js-node
Usage
var AWS = require('aws-sdk');
var CognitoSDK = require('amazon-cognito-identity-js-node');
AWS.CognitoIdentityServiceProvider.AuthenticationDetails = CognitoSDK.AuthenticationDetails;
AWS.CognitoIdentityServiceProvider.CognitoUserPool = CognitoSDK.CognitoUserPool;
AWS.CognitoIdentityServiceProvider.CognitoUser = CognitoSDK.CognitoUser;