public interface AccessManagerService
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<Envelope<AccessManagerGrantPayload>> |
grant(java.lang.String subKey,
java.util.Map<java.lang.String,java.lang.String> options) |
retrofit2.Call<com.google.gson.JsonObject> |
grantToken(java.lang.String subKey,
java.lang.Object body,
java.util.Map<java.lang.String,java.lang.String> options) |
@GET(value="/v2/auth/grant/sub-key/{subKey}")
retrofit2.Call<Envelope<AccessManagerGrantPayload>> grant(@Path(value="subKey")
java.lang.String subKey,
@QueryMap
java.util.Map<java.lang.String,java.lang.String> options)
@POST(value="/v3/pam/{subKey}/grant")
retrofit2.Call<com.google.gson.JsonObject> grantToken(@Path(value="subKey")
java.lang.String subKey,
@Body
java.lang.Object body,
@QueryMap
java.util.Map<java.lang.String,java.lang.String> options)