TokenGrant
interface TokenGrant
Marker for the grant types accepted by the flat-list grants(...) setter of the neutral com.pubnub.api.java.endpoints.access.builder.GrantTokenBuilder.
Implemented by ChannelGrant, ChannelGroupGrant and DataSyncGrant. UUIDGrant deliberately does not implement it: the legacy uuids bucket is reachable only through the legacy authorizedUUID(...)/uuids(...) path, so a caller building a flat grant list cannot accidentally target it. The exclusion is enforced at compile time by this marker rather than at runtime.
This marker is placed on the concrete grant classes directly (not on PNResource/ PNAppContextResource), because UUIDGrant extends PNAppContextResource and must stay excluded.