• Confirms a user attribute with the confirmation code.

    Parameters

    Returns Promise<void>

    Throws

    -AuthValidationErrorCode - Thrown when confirmationCode is not defined.

    Throws

    -VerifyUserAttributeException - Thrown due to an invalid confirmation code or attribute.

    Throws

    AuthTokenConfigException - Thrown when the token provider config is invalid.