UNPKG

cognito-srp

Version:

Secure Remote Password protocol implementation compatible with Amazon Cognito.

14 lines (13 loc) 389 B
/// <reference types="node" /> import { Session } from './Session'; import { ServerUser } from './UserPool'; export declare class ServerPasswordChallenge { poolname: string; user: ServerUser; private b; private B; private verifier; constructor(poolname: string, user: ServerUser, b: string | Buffer); calculateB(): Buffer; getSession(A: string): Session; }