All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pubnub.api.java.endpoints.access.builder.GrantTokenObjectsBuilder Maven / Gradle / Ivy

package com.pubnub.api.java.endpoints.access.builder;

import com.pubnub.api.java.endpoints.Endpoint;
import com.pubnub.api.java.models.consumer.access_manager.v3.ChannelGrant;
import com.pubnub.api.java.models.consumer.access_manager.v3.ChannelGroupGrant;
import com.pubnub.api.models.consumer.access_manager.v3.PNGrantTokenResult;
import com.pubnub.api.java.models.consumer.access_manager.v3.UUIDGrant;

import java.util.List;

public interface GrantTokenObjectsBuilder extends Endpoint {

    /**
     * @param ttl
     * @return instance of this builder
     * @deprecated Use {@link com.pubnub.api.java.PubNub#grantToken(int)}} instead.
     */
    GrantTokenObjectsBuilder ttl(Integer ttl);

    GrantTokenObjectsBuilder meta(Object meta);

    GrantTokenObjectsBuilder channels(List channels);

    GrantTokenObjectsBuilder channelGroups(List channelGroups);

    GrantTokenObjectsBuilder uuids(List uuids);

    GrantTokenObjectsBuilder authorizedUUID(String authorizedUUID);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy