Entitlement

data class Entitlement(val name: String, val value: Int) : Serializable

Represents an entitlement related to using Sudo service APIs. Currently only entitlement that's used in Sudo service is "sudoplatform.sudo.max" to represent the maximum number of Sudos each user is allowed to provision.

Constructors

Link copied to clipboard
constructor(name: String, value: Int)

Properties

Link copied to clipboard

String entitlement name, e.g "sudoplatform.sudo.max" for maximum number of Sudos.

Link copied to clipboard
val value: Int

Int entitlement value.