UserKeyOption

data class UserKeyOption(val id: String, val username: String, val authenticationType: String)

Data class representing a user key option that can be selected for device binding authentication.

This class encapsulates the information about a registered user key that is displayed to the user when multiple device bindings exist. It provides the necessary details for the user to identify and select the appropriate key for authentication.

Constructors

Link copied to clipboard
constructor(id: String, username: String, authenticationType: String)

Properties

Link copied to clipboard

The type of authentication used by this key (e.g., "BIOMETRIC_ONLY", "BIOMETRIC_OR_DEVICE_CREDENTIAL", "APPLICATION_PIN"). Displayed to users to help them understand how authentication will work. Corresponds to com.pingidentity.device.binding.authenticator.DeviceBindingAuthenticationType.

Link copied to clipboard
val id: String

The unique identifier of the user key. This corresponds to the com.pingidentity.device.binding.UserKey.id and is used internally to identify the selected key.

Link copied to clipboard

The friendly username or display name associated with this key. This is shown in the selection UI to help users identify their keys. Corresponds to com.pingidentity.device.binding.UserKey.username.