Class ClientsResource


  • @Path("/openid/clients")
    @Produces("application/json")
    @Consumes("application/json")
    @ApplicationScoped
    public class ClientsResource
    extends ConfigBaseResource
    Author:
    Mougang T.Gasmyr
    • Constructor Detail

      • ClientsResource

        public ClientsResource()
    • Method Detail

      • getOpenIdConnectClients

        @GET
        public jakarta.ws.rs.core.Response getOpenIdConnectClients​(@DefaultValue("50") @QueryParam("limit")
                                                                   int limit,
                                                                   @DefaultValue("") @QueryParam("pattern")
                                                                   String pattern,
                                                                   @DefaultValue("1") @QueryParam("startIndex")
                                                                   int startIndex,
                                                                   @QueryParam("sortBy")
                                                                   String sortBy,
                                                                   @QueryParam("sortOrder")
                                                                   String sortOrder)
                                                            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 pathString)
                                                throws com.github.fge.jsonpatch.JsonPatchException,
                                                       IOException
        Throws:
        com.github.fge.jsonpatch.JsonPatchException
        IOException
      • deleteClient

        @DELETE
        @Path("{inum}")
        public jakarta.ws.rs.core.Response deleteClient​(@PathParam("inum") @NotNull
                                                        @NotNull String inum)