UNPKG

cognito-srp

Version:

Secure Remote Password protocol implementation compatible with Amazon Cognito.

8 lines (7 loc) 344 B
import { AwsEndpoint } from './AwsEndpoint'; import { ClientUser } from './UserPool'; export declare enum CognitoActions { InitiateAuth = "InitiateAuth", RespondToAuthChallenge = "RespondToAuthChallenge", } export declare function createCognitoEndpoint(userPoolId: string, userList: ClientUser[]): Promise<AwsEndpoint<CognitoActions>>;