KEYCLOAK-1187
This commit is contained in:
1 parent
600353899a
commit
46e386cd43
6 files changed
+7
-9
No files matched your search
-1
@@ -1,6 +1,5 @@
|
||||
package org.keycloak.admin.client.resource;
|
||||
|
||||
import org.keycloak.representations.idm.ApplicationRepresentation;
|
||||
import org.keycloak.representations.idm.ClientRepresentation;
|
||||
import org.keycloak.representations.idm.CredentialRepresentation;
|
||||
import org.keycloak.representations.idm.UserSessionRepresentation;
|
||||
|
||||
+3
-4
@@ -1,6 +1,5 @@
|
||||
package org.keycloak.admin.client.resource;
|
||||
|
||||
import org.keycloak.representations.idm.ApplicationRepresentation;
|
||||
import org.keycloak.representations.idm.ClientRepresentation;
|
||||
|
||||
import javax.ws.rs.Consumes;
|
||||
@@ -17,8 +16,8 @@ import java.util.List;
|
||||
*/
|
||||
public interface ClientsResource {
|
||||
|
||||
@Path("{appName}")
|
||||
public ClientResource get(@PathParam("appName") String appName);
|
||||
@Path("{clientId}")
|
||||
public ClientResource get(@PathParam("clientId") String clientId);
|
||||
|
||||
@POST
|
||||
@Consumes(MediaType.APPLICATION_JSON)
|
||||
@@ -26,7 +25,7 @@ public interface ClientsResource {
|
||||
|
||||
@GET
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
public List<ApplicationRepresentation> findAll();
|
||||
public List<ClientRepresentation> findAll();
|
||||
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ public interface RealmResource {
|
||||
@Consumes(MediaType.APPLICATION_JSON)
|
||||
public void update(RealmRepresentation realmRepresentation);
|
||||
|
||||
@Path("applications")
|
||||
@Path("clients")
|
||||
public ClientsResource clients();
|
||||
|
||||
@Path("users")
|
||||
|
||||
Reference in new issue
Block a user