@aws-amplify/auth
Version:
Auth category of aws-amplify
18 lines (17 loc) • 851 B
TypeScript
import { ConfirmSignInInput, ConfirmSignInOutput } from '../types';
/**
* Continues or completes the sign in process when required by the initial call to `signIn`.
*
* @param input - The ConfirmSignInInput object
* @returns ConfirmSignInOutput
* @throws -{@link VerifySoftwareTokenException }:
* Thrown due to an invalid MFA token.
* @throws -{@link RespondToAuthChallengeException }:
* Thrown due to an invalid auth challenge response.
* @throws -{@link AssociateSoftwareTokenException}:
* Thrown due to a service error during the MFA setup process.
* @throws -{@link AuthValidationErrorCode }:
* Thrown when `challengeResponse` is not defined.
* @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
*/
export declare function confirmSignIn(input: ConfirmSignInInput): Promise<ConfirmSignInOutput>;