aws-srp-client
v1.3.1
Published
Authenticate users with AWS Cognito via SRP
Downloads
1,784
Readme
AWS SRR Client
Usage
import { AwsSrpClient } from 'aws-srp-client';
const client = new AwsSrpClient('region', 'poolId', 'clientId');
const result = await client.AuthenticateUser('username', 'password');
if (result.Success) {
const tokens = result.AuthenticationResult;
//
} else {
//
}