InterfaceClient

Represents an application that interfaces with the REST API to access accounts or post statuses.

interface Client {
    clientId?: null | string;
    clientSecret?: null | string;
    name: string;
    vapidKey?: null | string;
    website?: null | string;
}

Hierarchy (view full)

Properties

clientId?: null | string

Client ID key, to be used for obtaining OAuth tokens

clientSecret?: null | string

Client secret key, to be used for obtaining OAuth tokens

name: string

The name of your application.

vapidKey?: null | string

Used for Push Streaming API. Returned with POST /api/v1/apps. Equivalent to PushSubscription#server_key

website?: null | string

The website associated with your application.