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

Latest commit

 

History

History
18 lines (14 loc) · 614 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 614 Bytes

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;