• Resend the email verification request. Note that to prevent certain forms of abuse, the email address is not a parameter here. Instead, the caller must be authenticated as the (unverified) user. To simplify this process, the access token to be used may be passed directly as a parameter here. This avoids the need to set it as the active token on an endpoint, which may be inconvenient in workflows where it is preferable to keep the user in "anonymous" mode while verification is being performed.

    import {Auth} from '@verdocs/js-sdk/Auth';

    const result = await Auth.resendVerification();

    Parameters

    Returns Promise<{
        result: "done";
    }>