Interface AuthorOptions

Defines the options of an Author instance.

interface AuthorOptions {
    email: string;
    ipAddress: string;
    name: string;
    role: string;
    url: string | URL;
    userAgent: string;
}

Properties

email: string

The author's mail address. If you set it to "akismet-guaranteed-spam@example.com", Akismet will always return true.

ipAddress: string

The author's IP address.

name: string

The author's name.

role: string

The author's role.

url: string | URL

The URL of the author's website.

userAgent: string

The author's user agent, that is the string identifying the Web browser used to submit comments.