core / pragma.account /

Package pragma.account #

Functions #

NameSummary

isEntitlementOwnerIdProvider

fun IdProviderType.isEntitlementOwnerIdProvider(): Boolean

Whether this IdProvider value is one the engine records licence owners under, rather than one players authenticate with.

toAuthenticatingIdProvider

fun IdProviderType.toAuthenticatingIdProvider(): IdProviderType?

The Identity Provider a licence owner recorded under this value authenticates with, or null when this is not an entitlement owner value.

toEntitlementOwnerIdProvider

fun IdProviderType.toEntitlementOwnerIdProvider(): IdProviderType?

The IdProvider value a licence owner reported by this Identity Provider is recorded under, or null when this provider has no concept of a borrowed licence and so should never report one.

Properties #

NameSummary

entitlementOwnerIdProviderByProvider

private val entitlementOwnerIdProviderByProvider: Map<IdProviderType, IdProviderType>

Identity Providers that can report a session running on a licence owned by another account, each mapped to the IdProvider value the engine records that owner under.