Skip to main content

DeviceInfo

@loginid/websdk3Docs


@loginid/websdk3 / Internal Modules / DeviceInfo

Type Alias: DeviceInfo

DeviceInfo: object

Information about the device. All of these attributes are optional and should be provided on best effort basis. If provide, they will be taken into consideration in order to improve user experience.

Type declaration

clientName

clientName: string

Client name

clientType

clientType: "browser" | "other"

Client type.

clientVersion

clientVersion: string

Client version

deviceId?

optional deviceId: string

An unique device identifier

osArch

osArch: string

OS architecture

osName

osName: string

OS name

osVersion

osVersion: string

OS version

screenHeight

screenHeight: number

Screen height in pixels

screenWidth

screenWidth: number

Screen width in pixels