Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 315 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 315 Bytes

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 {
    //
}