Interface AuthProfileService

    • Method Detail

      • list

        @GET
        @Produces({"application/json","application/yaml","application/xml"})
        PagedResult<AuthProfileTO> list​(@Min(1L) @QueryParam("page") @DefaultValue("1")
                                        @javax.validation.constraints.Min(1L) int page,
                                        @Min(1L) @QueryParam("size") @DefaultValue("25")
                                        @javax.validation.constraints.Min(1L) int size)
        Returns the paginated list of existing auth profiles.
        Parameters:
        page - search page
        size - search page size
        Returns:
        the paginated list of existing auth profiles
      • read

        @GET
        @Path("{key}")
        @Consumes({"application/json","application/yaml","application/xml"})
        @Produces({"application/json","application/yaml","application/xml"})
        AuthProfileTO read​(@NotNull @PathParam("key")
                           @NotNull String key)
        Returns the auth profile matching the provided if key, if found.
        Parameters:
        key - auth profile key
        Returns:
        auth profile matching the provided if key, if found
      • create

        @POST
        @Consumes({"application/json","application/yaml","application/xml"})
        @Produces({"application/json","application/yaml","application/xml"})
        javax.ws.rs.core.Response create​(@NotNull
                                         @NotNull AuthProfileTO authProfileTO)
        Create a new auth profile.
        Parameters:
        authProfileTO - auth profile to create
        Returns:
        Response object featuring Location header of created client app
      • update

        @PUT
        @Path("{key}")
        @Consumes({"application/json","application/yaml","application/xml"})
        @Produces({"application/json","application/yaml","application/xml"})
        void update​(@NotNull
                    @NotNull AuthProfileTO authProfileTO)
        Updates the auth profile matching the provided if key, if found.
        Parameters:
        authProfileTO - auth profile
      • delete

        @DELETE
        @Path("{key}")
        @Consumes({"application/json","application/yaml","application/xml"})
        @Produces({"application/json","application/yaml","application/xml"})
        void delete​(@NotNull @PathParam("key")
                    @NotNull String key)
        Deletes the auth profile matching the provided if key, if found.
        Parameters:
        key - auth profile key