Class ClientAuthResource


  • @Path("/clients/authorizations")
    @Produces("application/json")
    @Consumes("application/json")
    @ApplicationScoped
    public class ClientAuthResource
    extends ConfigBaseResource
    • Field Summary

      • Fields inherited from class io.jans.configapi.core.rest.BaseResource

        MISSING_ATTRIBUTE_CODE, MISSING_ATTRIBUTE_MESSAGE, TOKEN_DELIMITER
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.ws.rs.core.Response deleteClientAuthorization​(@NotNull String userId, @NotNull String userName, @NotNull String clientId)  
      jakarta.ws.rs.core.Response getClientAuthorization​(@NotNull String userId)  
      • Methods inherited from class io.jans.configapi.core.rest.BaseResource

        checkNotEmpty, checkNotEmpty, checkNotNull, checkNotNull, checkNotNull, checkResourceNotNull, createSearchRequest, findRootError, getBadRequestException, getBadRequestException, getHttpHeaders, getHttpRequest, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, getUriInfo, throwBadRequestException, throwBadRequestException, throwInternalServerException, throwInternalServerException, throwMissingAttributeError
    • Constructor Detail

      • ClientAuthResource

        public ClientAuthResource()
    • Method Detail

      • getClientAuthorization

        @GET
        public jakarta.ws.rs.core.Response getClientAuthorization​(@PathParam("userId") @NotNull
                                                                  @NotNull String userId)
      • deleteClientAuthorization

        @DELETE
        public jakarta.ws.rs.core.Response deleteClientAuthorization​(@PathParam("userId") @NotNull
                                                                     @NotNull String userId,
                                                                     @PathParam("username") @NotNull
                                                                     @NotNull String userName,
                                                                     @PathParam("clientId") @NotNull
                                                                     @NotNull String clientId)