@shopify/cli-kit
    Preparing search index...

    Interface EnsureAuthenticatedBusinessPlatformOptions

    Options for ensureAuthenticatedBusinessPlatform.

    interface EnsureAuthenticatedBusinessPlatformOptions {
        allowAutomationToken?: boolean;
        forceNewSession?: boolean;
        forceRefresh?: boolean;
        noPrompt?: boolean;
    }

    Hierarchy

    • EnsureAuthenticatedAdditionalOptions
      • EnsureAuthenticatedBusinessPlatformOptions
    Index
    allowAutomationToken?: boolean

    Authenticate with the automation token set in the environment, when there is one, instead of the logged-in user. Only commands that support automation tokens opt in; other callers, such as Hydrogen's login, keep using the user's session.

    forceNewSession?: boolean
    forceRefresh?: boolean
    noPrompt?: boolean