Class JwksResource


  • @Path("/config/jwks")
    @Produces("application/json")
    @Consumes("application/json")
    public class JwksResource
    extends ConfigBaseResource
    Author:
    Yuriy Zabrovarnyy
    • Constructor Detail

      • JwksResource

        public JwksResource()
    • Method Detail

      • get

        @GET
        public jakarta.ws.rs.core.Response get()
      • put

        @PUT
        public jakarta.ws.rs.core.Response put​(io.jans.as.model.config.WebKeysConfiguration webkeys)
      • patch

        @PATCH
        @Consumes("application/json-patch+json")
        public jakarta.ws.rs.core.Response patch​(String requestString)
                                          throws com.github.fge.jsonpatch.JsonPatchException,
                                                 IOException
        Throws:
        com.github.fge.jsonpatch.JsonPatchException
        IOException
      • getKeyById

        @POST
        @Path("/key")
        public jakarta.ws.rs.core.Response getKeyById​(@NotNull
                                                      @NotNull io.jans.as.model.jwk.JSONWebKey jwk)
      • getKeyById

        @GET
        @Path("/{kid}")
        public jakarta.ws.rs.core.Response getKeyById​(@PathParam("kid") @NotNull
                                                      @NotNull String kid)
      • patch

        @PATCH
        @Consumes("application/json-patch+json")
        @Path("/{kid}")
        public jakarta.ws.rs.core.Response patch​(@PathParam("kid") @NotNull
                                                 @NotNull String kid,
                                                 @NotNull
                                                 @NotNull String requestString)
                                          throws com.github.fge.jsonpatch.JsonPatchException,
                                                 IOException
        Throws:
        com.github.fge.jsonpatch.JsonPatchException
        IOException
      • deleteKey

        @DELETE
        @Path("/{kid}")
        public jakarta.ws.rs.core.Response deleteKey​(@PathParam("kid") @NotNull
                                                     @NotNull String kid)