Represents API credentials for authentication.

export interface APICredentials {
source: "default" | "custom";
clientId: string;
clientSecret: string;
redirectUri: string;
}
interface APICredentials {
    source: "default" | "custom";
    clientId: string;
    clientSecret: string;
    redirectUri: string;
}

Properties

source: "default" | "custom"

The credential source (default or custom).

clientId: string

The client ID for the API.

clientSecret: string

The client secret for the API.

redirectUri: string

The redirect URI for OAuth.