Sudo
data class Sudo(var id: String? = null, var version: Int = 1, var createdAt: Date = Date(0), var updatedAt: Date = Date(0), var claims: MutableMap<String, Claim> = mutableMapOf(), var metadata: MutableMap<String, String> = mutableMapOf()) : Serializable
Represents a Sudo.
Parameters
id
globally unique identifier of this Sudo. This is generated and set by Sudo service.
version
current version of this Sudo.
created At
date and time at which this Sudo was created.
updated At
date and time at which this Sudo was last updated.
claims
claims.
metadata
arbitrary metadata set by the backend..
Constructors
Link copied to clipboard
constructor(title: String?, firstName: String?, lastName: String?, label: String?, notes: String?, avatar: Uri?)
Instantiates a Sudo.
constructor(id: String? = null, version: Int = 1, createdAt: Date = Date(0), updatedAt: Date = Date(0), claims: MutableMap<String, Claim> = mutableMapOf(), metadata: MutableMap<String, String> = mutableMapOf())