core / pragma.auth /

Package pragma.auth #

Types #

NameSummary

Entitlement

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

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

PlayerPrincipal

interface PlayerPrincipal

Note: This principal could represent a player, operator, or partner. In the future we intend to disambiguate these.

ValidatedIdentity

data class ValidatedIdentity(val account: IdProviderAccount, val entitlement: Entitlement? = null)

The result of validating a provider token: the authenticated account, plus whatever the provider reported about the licence the session is running on.