Creates a reusable Device Client bound to a single SSO session.
Runtime configuration including the server URL and SSO token.
A DeviceClient exposing per-kind repositories.
Error when the native module is unavailable, or DEVICE_CLIENT_MISSING_CONFIG when required fields are missing.
DEVICE_CLIENT_MISSING_CONFIG
const client = createDeviceClient({ serverUrl: 'https://openam.example.com/am', ssoToken: session.value, realm: 'alpha',});const devices = await client.oath.get(); Copy
const client = createDeviceClient({ serverUrl: 'https://openam.example.com/am', ssoToken: session.value, realm: 'alpha',});const devices = await client.oath.get();
Creates a reusable Device Client bound to a single SSO session.