DeviceRegistrationState

class DeviceRegistrationState(val registration: DeviceRegistration, val authEpoch: Long, val authKeyInstalledAt: Instant, val recoveryId: DeviceRecoveryId?, val rotationId: DeviceAuthenticationRotationId? = null, val lastDeviceRecoveryId: LastDeviceRecoveryId? = null)

A stored registration: registration with its authEpoch, the server time authKeyInstalledAt its key was installed at, and the transition that installed the key: recoveryId for a device recovery, rotationId for a routine rotation, lastDeviceRecoveryId for a last-device recovery, none for a key from first registration. At most one of them is set.

Constructors

Link copied to clipboard
constructor(registration: DeviceRegistration, authEpoch: Long, authKeyInstalledAt: Instant, recoveryId: DeviceRecoveryId?, rotationId: DeviceAuthenticationRotationId? = null, lastDeviceRecoveryId: LastDeviceRecoveryId? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String