@seamapi/http - v2.1.0
    Preparing search index...

    Class SeamHttpConnectWebviews

    Index
    client: AxiosInstance
    defaults: Required<SeamHttpRequestOptions>
    ltsVersion: "1.0.0" = seamApiLtsVersion
    ltsVersion: string = seamApiLtsVersion
    • Creates a new Connect Webview.

      To enable a user to connect their devices or systems to Seam, they must sign in to their device or system account. To enable a user to sign in, you create a connect_webview. After creating the Connect Webview, you receive a URL that you can use to display the visual component of this Connect Webview for your user. You can open an iframe or new window to display the Connect Webview.

      You should make a new connect_webview for each unique login request. Each connect_webview tracks the user that signed in with it. You receive an error if you reuse a Connect Webview for the same user twice or if you use the same Connect Webview for multiple users.

      See also: Connect Webview Process.

      Parameters

      Returns ConnectWebviewsCreateRequest

    • Parameters

      • clientSessionToken: string

      Returns Promise<void>