Class JwksResource
- java.lang.Object
-
- io.jans.configapi.core.rest.BaseResource
-
- io.jans.configapi.rest.resource.auth.ConfigBaseResource
-
- io.jans.configapi.rest.resource.auth.JwksResource
-
@Path("/config/jwks") @Produces("application/json") @Consumes("application/json") public class JwksResource extends ConfigBaseResource- Author:
- Yuriy Zabrovarnyy
-
-
Field Summary
-
Fields inherited from class io.jans.configapi.rest.resource.auth.ConfigBaseResource
DEFAULT_LIST_SIZE, DEFAULT_LIST_START_INDEX, DEFAULT_MAX_COUNT, READ_ACCESS, WRITE_ACCESS
-
-
Constructor Summary
Constructors Constructor Description JwksResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.ResponsedeleteKey(@NotNull String kid)jakarta.ws.rs.core.Responseget()jakarta.ws.rs.core.ResponsegetKeyById(@NotNull io.jans.as.model.jwk.JSONWebKey jwk)jakarta.ws.rs.core.ResponsegetKeyById(@NotNull String kid)jakarta.ws.rs.core.Responsepatch(@NotNull String kid, @NotNull String requestString)jakarta.ws.rs.core.Responsepatch(String requestString)jakarta.ws.rs.core.Responseput(io.jans.as.model.config.WebKeysConfiguration webkeys)-
Methods inherited from class io.jans.configapi.rest.resource.auth.ConfigBaseResource
getMaxCount
-
Methods inherited from class io.jans.configapi.core.rest.BaseResource
checkNotEmpty, checkNotEmpty, checkNotNull, checkResourceNotNull, createSearchRequest, getBadRequestException, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, thorwBadRequestException, thorwInternalServerException, throwMissingAttributeError
-
-
-
-
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.JsonPatchExceptionIOException
-
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.JsonPatchExceptionIOException
-
deleteKey
@DELETE @Path("/{kid}") public jakarta.ws.rs.core.Response deleteKey(@PathParam("kid") @NotNull @NotNull String kid)
-
-