botas-express
    Preparing search index...

    Interface BotApplicationOptions

    Options for BotApplication. Credentials are resolved in this priority order:

    clientId clientSecret managedIdentityClientId Result
    not set No auth (dev/testing only)
    set set Client secret
    set not set User managed identity
    set not set different Federated identity (UMI)
    set not set "system" Federated identity (sys MI)

    All fields fall back to their corresponding environment variables (CLIENT_ID, CLIENT_SECRET, TENANT_ID, MANAGED_IDENTITY_CLIENT_ID).

    interface BotApplicationOptions {
        clientId?: string;
        clientSecret?: string;
        tenantId?: string;
        token?: (scope: string, tenantId: string) => Promise<string>;
        managedIdentityClientId?: "system" | string & Record<never, never>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    clientId?: string

    Application (client) ID.

    clientSecret?: string

    Client secret.

    tenantId?: string

    Tenant ID.

    token?: (scope: string, tenantId: string) => Promise<string>

    Custom token factory. When provided, called instead of MSAL for every token acquisition.

    managedIdentityClientId?: "system" | string & Record<never, never>

    Managed identity client ID for federated identity credentials. Use "system" for system-assigned managed identity.