Skip to main content

DeviceInfo

A device the user has signed in from.

type DeviceInfo {
browser: String
deviceName: String!
deviceType: String!
id: ID!
isCurrent: Boolean!
lastUsedAt: DateTime!
os: String
trustedUntil: DateTime!
}

Fields​

DeviceInfo.browser ● String scalar​

The browser.

DeviceInfo.deviceName ● String! non-null scalar​

The name of the device.

DeviceInfo.deviceType ● String! non-null scalar​

The kind of device.

DeviceInfo.id ● ID! non-null scalar​

The unique ID of this record.

DeviceInfo.isCurrent ● Boolean! non-null scalar​

True when this is the device in use now.

DeviceInfo.lastUsedAt ● DateTime! non-null scalar​

When the device was last used.

DeviceInfo.os ● String scalar​

The operating system.

DeviceInfo.trustedUntil ● DateTime! non-null scalar​

When the device stops being trusted for two-factor.

Returned By​

myTrustedDevices query