1.2.0 • Published 3 months ago
aws-srp-client v1.2.0
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 {
//
}