• Signs a user in

    Parameters

    Returns Promise<SignInOutput>

    SignInOutput

    Throws

    service: InitiateAuthException, RespondToAuthChallengeException

    • Cognito service errors thrown during the sign-in process.

    Throws

    validation: AuthValidationErrorCode - Validation errors thrown when either username or password are not defined.

    Throws

    AuthTokenConfigException - Thrown when the token provider config is invalid.