@aws-amplify/auth
Version:
Auth category of aws-amplify
14 lines (13 loc) • 656 B
TypeScript
import { SignInWithSRPInput, SignInWithSRPOutput } from '../types';
/**
* Signs a user in
*
* @param input - The SignInWithSRPInput object
* @returns SignInWithSRPOutput
* @throws service: {@link InitiateAuthException }, {@link RespondToAuthChallengeException } - Cognito service errors
* thrown during the sign-in process.
* @throws validation: {@link AuthValidationErrorCode } - Validation errors thrown when either username or password
* are not defined.
* @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
*/
export declare function signInWithSRP(input: SignInWithSRPInput): Promise<SignInWithSRPOutput>;