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

    Function ensureAuthenticatedStorefront

    • Ensure that we have a valid session to access the Storefront API.

      Parameters

      • scopes: StorefrontRendererScope[] = []

        Optional array of extra scopes to authenticate with.

      • password: string | undefined = undefined

        Optional password to use.

      • options: EnsureAuthenticatedAdditionalOptions = {}

        Optional extra options to use.

      Returns Promise<string>

      The access token for the Storefront API.