DeviceUser

@Serializable
data class DeviceUser(val user: User, val current: Boolean = false, val onBoarded: Boolean = false, val creationTime: Long = System.currentTimeMillis(), val updateTime: Long = System.currentTimeMillis())

Represents the model of a device user.

Since

3.3

See also

Constructors

Link copied to clipboard
constructor(user: User, current: Boolean = false, onBoarded: Boolean = false, creationTime: Long = System.currentTimeMillis(), updateTime: Long = System.currentTimeMillis())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The creation time of this user.

Link copied to clipboard

Whether a user is the current active user or not.

Link copied to clipboard

The email address, it might be empty.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String

The user id, it's the same as the user model saved at server side.

Link copied to clipboard

If name property returned from server, then 'name' would be 'family name, first name', otherwise 'userName'.

Link copied to clipboard

Whether a user went through the complete onboarding process and ready to unlock the app with the passcode.

Link copied to clipboard

The secure store name of this user.

Link copied to clipboard

The secure store name with the one way hash algorithm.

Link copied to clipboard

The latest update time.

Link copied to clipboard
val user: User

Functions

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