Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LookerEmbedSDK

Hierarchy

  • LookerEmbedSDK

Index

Constructors

Methods

  • Create an EmbedBuilder for an embedded Looker Look.

    Parameters

    • url: string

      A signed SSO embed URL or embed URL for an already authenticated Looker user

    Returns EmbedBuilder<LookerEmbedLook>

  • Initialize the Embed SDK.

    Parameters

    • apiHost: string

      The address or base URL of the Looker host (example.looker.com:9999, https://example.looker.com:9999) This is required for verification of messages sent from the embedded content.

    • Optional auth: string | LookerAuthConfig

    Returns void

  • Initialize the Embed SDK to use a cookieless session.

    Parameters

    • apiHost: string

      The address or base URL of the host (example.looker.com:9999, https://example.looker.com:9999)

    • acquireSession: string | CookielessRequestInit | CookielessCallback

      is either a string containing a server endpoint that will acquire the embed session OR a RequestInfo object for a fetch call to the server endpoint that will acquire the embed session OR a callback that will invoke the server endpoint that will acquire the embed session. The server endpoint must ultimately call the Looker endpoint acquire_embed_cookieless_session.

    • generateTokens: string | CookielessRequestInit | CookielessCallback

      is either a string containing a server endpoint that will generate new tokens OR a RequestInfo object for a fetch call to the server endpoint that will generate new tokens OR a callback that will invoke the server endpoint that will generate new tokens. The server endpoint should ultimately call the Looker endpoint generate_tokens_for_cookieless_session.

      Looker 22.20+

    Returns void

Generated using TypeDoc