Class ClientsResource
java.lang.Object
io.jans.configapi.core.rest.BaseResource
io.jans.configapi.rest.resource.auth.ConfigBaseResource
io.jans.configapi.rest.resource.auth.ClientsResource
@Path("/openid/clients")
@Produces("application/json")
@Consumes("application/json")
@ApplicationScoped
public class ClientsResource
extends ConfigBaseResource
- Author:
- Mougang T.Gasmyr
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsecreateOpenIdConnect(@Valid io.jans.as.common.model.registration.Client client) jakarta.ws.rs.core.ResponsedeleteClient(@NotNull String inum) jakarta.ws.rs.core.ResponsegetOpenIdClientByInum(@NotNull String inum) jakarta.ws.rs.core.ResponsegetOpenIdConnectClients(int limit, String pattern, int startIndex, String sortBy, String sortOrder, String fieldValuePair) jakarta.ws.rs.core.ResponsepatchClient(@NotNull String inum, @NotNull String jsonPatchString) jakarta.ws.rs.core.ResponseupdateClient(@Valid io.jans.as.common.model.registration.Client client) Methods inherited from class io.jans.configapi.rest.resource.auth.ConfigBaseResource
getMaxCountMethods inherited from class io.jans.configapi.core.rest.BaseResource
checkNotEmpty, checkNotEmpty, checkNotNull, checkNotNull, checkNotNull, checkResourceNotNull, createSearchRequest, findRootError, getBadRequestException, getBadRequestException, getBadRequestException, getHttpHeaders, getHttpRequest, getInternalServerException, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, getNotFoundError, getUriInfo, throwBadRequestException, throwBadRequestException, throwBadRequestException, throwInternalServerException, throwInternalServerException, throwInternalServerException, throwInternalServerException, throwMissingAttributeError, throwNotFoundException, throwNotFoundException
-
Constructor Details
-
ClientsResource
public ClientsResource()
-
-
Method Details
-
getOpenIdConnectClients
@GET public jakarta.ws.rs.core.Response getOpenIdConnectClients(@DefaultValue("50") @QueryParam("limit") int limit, @DefaultValue("") @QueryParam("pattern") String pattern, @DefaultValue("0") @QueryParam("startIndex") int startIndex, @DefaultValue("inum") @QueryParam("sortBy") String sortBy, @DefaultValue("ascending") @QueryParam("sortOrder") String sortOrder, @DefaultValue("") @QueryParam("fieldValuePair") String fieldValuePair) throws io.jans.util.security.StringEncrypter.EncryptionException - Throws:
io.jans.util.security.StringEncrypter.EncryptionException
-
getOpenIdClientByInum
@GET @Path("{inum}") public jakarta.ws.rs.core.Response getOpenIdClientByInum(@PathParam("inum") @NotNull @NotNull String inum) -
createOpenIdConnect
@POST public jakarta.ws.rs.core.Response createOpenIdConnect(@Valid @Valid io.jans.as.common.model.registration.Client client) throws io.jans.util.security.StringEncrypter.EncryptionException - Throws:
io.jans.util.security.StringEncrypter.EncryptionException
-
updateClient
@PUT public jakarta.ws.rs.core.Response updateClient(@Valid @Valid io.jans.as.common.model.registration.Client client) throws io.jans.util.security.StringEncrypter.EncryptionException - Throws:
io.jans.util.security.StringEncrypter.EncryptionException
-
patchClient
@PATCH @Consumes("application/json-patch+json") @Path("{inum}") public jakarta.ws.rs.core.Response patchClient(@PathParam("inum") @NotNull @NotNull String inum, @NotNull @NotNull String jsonPatchString) throws com.github.fge.jsonpatch.JsonPatchException, IOException - Throws:
com.github.fge.jsonpatch.JsonPatchExceptionIOException
-
deleteClient
@DELETE @Path("{inum}") public jakarta.ws.rs.core.Response deleteClient(@PathParam("inum") @NotNull @NotNull String inum)
-