core / pragma.auth / Entitlement /

Entitlement #

data class Entitlement(val ownerAccountId: String? = null, val isSiteLicense: Boolean = false)

What a provider reported about the licence a session is running on.

Parameters #

ownerAccountId

The provider account id owning the licence, when it is not the authenticated account’s own. null means the player owns the licence outright.

isSiteLicense

Whether the provider reported the licence as a site licence, such as an internet cafe, rather than a licence lent by another player.

Constructors #

Entitlement

fun Entitlement(ownerAccountId: String? = null, isSiteLicense: Boolean = false)

Properties #

NameSummary

isSiteLicense

val isSiteLicense: Boolean = false

ownerAccountId

val ownerAccountId: String? = null