Implementing Client Sessions for Device Management in the Backend
Learn how to use client sessions to control your users' access to devices.
Last updated
Was this helpful?
Learn how to use client sessions to control your users' access to devices.
Last updated
Was this helpful?
If you are developing an application with multiple customers connecting their devices, are a practical way to manage device access for each user. This topic provides an example of implementing client sessions in the backend, ensuring that users can access only the devices that they own.
When connecting your customers' devices, you can create a client session for each customer and associate this session with any Connect Webviews that you issue to them.
You can use the user_identifier_key
to retrieve a list of devices that only includes the ones that a specific user owns.
You can also use the user_identifier_key
to ensure that a user has the authorization to interact with a device.