Interface ProvisionEmailAddressInput

Input for SudoEmailClient.provisionEmailAddress.

ProvisionEmailAddressInput

interface ProvisionEmailAddressInput {
    alias?: string;
    emailAddress: string;
    ownershipProofToken: string;
}

Properties

alias?: string

An alias for the email address.

emailAddress: string

The email address to provision, in the form ${localPart}@${domain}.

ownershipProofToken: string

The signed ownership proof of the Sudo to be associated with the provisioned email address. The ownership proof must contain an audience of "sudoplatform".