Interface Application

An application in Cobalt.

interface Application {
    auth_input_map?: InputField[];
    auth_type: "oauth2" | "keybased";
    connected?: boolean;
    description: string;
    icon: string;
    name: string;
    reauth_required?: boolean;
    slug?: string;
    type: string;
}

Properties

auth_input_map?: InputField[]

The fields required from the user to connect the application (for keybased auth type).

auth_type: "oauth2" | "keybased"

The type of auth used by application.

connected?: boolean

Whether the user has connected the application.

description: string

The application description.

icon: string

The application icon.

name: string

The application name.

reauth_required?: boolean

Whether the connection has expired and re-auth is required.

slug?: string

The application slug for custom apps.

type: string

The application slug for native apps.