masto
    Preparing search index...

    Interface Client

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

    interface Client {
        clientId?: string | null;
        clientSecret?: string | null;
        clientSecretExpiresAt?: string | null;
        name: string;
        redirectUris?: string[] | null;
        scopes?: string[] | null;
        vapidKey?: string | null;
        website?: string | null;
    }

    Hierarchy (View Summary)

    Index

    Properties

    clientId?: string | null

    Client ID key, to be used for obtaining OAuth tokens

    clientSecret?: string | null

    Client secret key, to be used for obtaining OAuth tokens

    clientSecretExpiresAt?: string | null

    When the client secret expires. Returns "0" if it doesn't expire. Added in 4.4.0.

    name: string

    The name of your application.

    redirectUris?: string[] | null

    Redirect URIs registered for this application. Added in 4.3.0.

    scopes?: string[] | null

    The OAuth scopes requested for this application. Added in 4.3.0.

    vapidKey?: string | null

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

    website?: string | null

    The website associated with your application.