Interface RedditAuthParams

Platform-specific authentication parameters for Reddit.

interface RedditAuthParams {
    clientSecret: string;
    username: string;
    password: string;
    userAgent: string;
}

Hierarchy

  • Record<string, string | undefined>
    • RedditAuthParams

Properties

clientSecret: string

OAuth2 client secret.

username: string

Reddit account username for the bot.

password: string

Reddit account password for the bot.

userAgent: string

User-Agent string (required by Reddit API TOS).