UNPKG

569 BTypeScriptView Raw
1import { ConfirmUserAttributeInput } from '../types';
2/**
3 * Confirms a user attribute with the confirmation code.
4 *
5 * @param input - The ConfirmUserAttributeInput object
6 * @throws -{@link AuthValidationErrorCode } -
7 * Thrown when `confirmationCode` is not defined.
8 * @throws -{@link VerifyUserAttributeException } - Thrown due to an invalid confirmation code or attribute.
9 * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
10 */
11export declare function confirmUserAttribute(input: ConfirmUserAttributeInput): Promise<void>;