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

com.pubnub.api.endpoints.access.AccessManagerService Maven / Gradle / Ivy

Go to download

PubNub is a cross-platform client-to-client (1:1 and 1:many) push service in the cloud, capable of broadcasting real-time messages to millions of web and mobile clients simultaneously, in less than a quarter second!

There is a newer version: 4.6.5
Show newest version
package com.pubnub.api.endpoints.access;

import com.pubnub.api.models.server.access_manager.AccessManagerGrantPayload;
import com.pubnub.api.models.server.Envelope;
import com.pubnub.api.models.server.access_manager.AccessManagerAuditPayload;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.QueryMap;

import java.util.Map;

public interface AccessManagerService {

    @GET("/v1/auth/grant/sub-key/{subKey}")
    Call> grant(@Path("subKey") String subKey, @QueryMap Map options);

    @GET("/v1/auth/audit/sub-key/{subKey}")
    Call> audit(@Path("subKey") String subKey, @QueryMap Map options);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy