Seam Provider

Load in a clientSessionToken into your components.

The SeamProvider component accepts a clientSessionToken that enables descendants of the SeamProvider to use the Seam API. A Client Session Token allows a device owner to make API requests to Seam where interactions are restricted only to devices they own. To enable your users to interact with their devices, you'll need to create a client session and pass its token to the <SeamProvider /> .

See this guide for instructions on how to create a client session token.

<SeamProvider clientSessionToken={clientSessionToken}>
  <DeviceTable />
</SeamProvider>

Props

NameTypeDescription

clientSessionToken*

string

A Client Session Token allows a device owner to make API requests to Seam where interactions are restricted only to devices they own.

Last updated

Logo

Š Seam Labs, Inc. All rights reserved.