AbstractGrantTokenBuilder

Shared base for the grant-token builders. Carries the setters common to every grant path — ttl, meta, and the channels/channelGroups PubSub buckets — so a fluent chain can start with any of them and still resolve into either the modern flat-list path (the neutral GrantTokenBuilder) or the legacy (App Context v2 UUID) path (GrantTokenObjectsBuilder).

Each concrete builder covariantly narrows these setters' return type to itself, keeping the chain fluent within a single path.

Inheritors

Functions

Link copied to clipboard
abstract fun async(callback: Consumer<Result<Output>>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun meta(meta: Any): AbstractGrantTokenBuilder
Link copied to clipboard
Link copied to clipboard
abstract fun overrideConfiguration(configuration: PNConfiguration): Endpoint<T>

Allows to override certain configuration options (see com.pubnub.api.v2.PNConfigurationOverride.Builder) for this request only.

Link copied to clipboard
abstract fun retry()
Link copied to clipboard
abstract fun silentCancel()
Link copied to clipboard
abstract fun sync(): Output
Link copied to clipboard