Class ClientAuthResource
- java.lang.Object
-
- io.jans.configapi.core.rest.BaseResource
-
- io.jans.configapi.rest.resource.auth.ConfigBaseResource
-
- io.jans.configapi.rest.resource.auth.ClientAuthResource
-
@Path("/clients/authorizations") @Produces("application/json") @Consumes("application/json") @ApplicationScoped public class ClientAuthResource extends ConfigBaseResource
-
-
Constructor Summary
Constructors Constructor Description ClientAuthResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
deleteClientAuthorization(@NotNull String userId, @NotNull String clientId, @NotNull String userName)
jakarta.ws.rs.core.Response
getClientAuthorization(@NotNull String userId)
-
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, checkNotNull, checkNotNull, checkResourceNotNull, createSearchRequest, findRootError, getBadRequestException, getBadRequestException, getBadRequestException, getHttpHeaders, getHttpRequest, getInternalServerException, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, getNotFoundError, getUriInfo, throwBadRequestException, throwBadRequestException, throwBadRequestException, throwInternalServerException, throwInternalServerException, throwInternalServerException, throwMissingAttributeError, throwNotFoundException, throwNotFoundException
-
-
-
-
Method Detail
-
getClientAuthorization
@GET @Path("{userId}") public jakarta.ws.rs.core.Response getClientAuthorization(@PathParam("userId") @NotNull @NotNull String userId)
-
deleteClientAuthorization
@DELETE @Path("{userId}/{clientId}/{username}") public jakarta.ws.rs.core.Response deleteClientAuthorization(@PathParam("userId") @NotNull @NotNull String userId, @PathParam("clientId") @NotNull @NotNull String clientId, @PathParam("username") @NotNull @NotNull String userName)
-
-