User access state
Represents an overview of the user's devices accessing your project. The name of this model might vary by SDK.
Properties
success
Whether or not the operation was completed successfully.
attached_devices
The number of attached devices for the given user after this operation has finished.
device_id
The device ID on which the operation was done.
default_device_limit
The default device limit (overall) that is set for the project on the dashboard.
block_over_usage
A boolean representing wether the fallback behavior is to show the blocking dialog if limit is exceeded or not.
suspended
A boolean to indicate if the user has been suspended.
new_device
A boolean that is true if the device has never been seen from this user. This will also only be true once per device. Useful to trigger multi-factor authentication or security challenges.
access
The ID of the current access by the user.
Syntax
const { success: true, attached_devices: 3, device_id: '6323dadac7c49192e9154563', default_device_limit: 2, block_over_usage: false, } = UserAccessState;