TokenGrant

interface TokenGrant : PNGrant

Marker for the grant types accepted by the flat-list overload of com.pubnub.api.PubNub.grantToken (grants: List<TokenGrant>).

Implemented by ChannelGrant, ChannelGroupGrant and DataSyncGrantType. UUIDGrant deliberately does not implement it: the legacy uuids bucket is reachable only through the legacy authorizedUUID/uuids overload, so new callers building a flat grant list cannot accidentally target it. The exclusion is enforced at compile time by this marker rather than at runtime.

Inheritors

Properties

Link copied to clipboard
abstract val create: Boolean
Link copied to clipboard
abstract val delete: Boolean
Link copied to clipboard
abstract val get: Boolean
Link copied to clipboard
abstract val id: String
Link copied to clipboard
abstract val join: Boolean
Link copied to clipboard
abstract val manage: Boolean
Link copied to clipboard
abstract val read: Boolean
Link copied to clipboard
abstract val update: Boolean
Link copied to clipboard
abstract val write: Boolean