Interface UserApi
-
@Consumes("application/json") @Path("/users") public interface UserApi
Provides access to the Keystone User API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
changePassword(String id, String originalPassword, String newPassword)
User
create(String name, String password, Boolean enabled, String domainId, String defaultProjectId)
boolean
delete(String id)
User
get(String id)
List<User>
list()
List<Group>
listGroups(String id)
List<Project>
listProjects(String id)
User
update(String id, String name, String password, Boolean enabled, String domainId, String defaultProjectId)
-
-
-
Method Detail
-
create
@Named("users:create") @POST User create(String name, @Nullable String password, @Nullable Boolean enabled, @Nullable String domainId, @Nullable String defaultProjectId)
-
update
@Named("users:update") @Path("/{id}") User update(@PathParam("id") String id, String name, @Nullable String password, @Nullable Boolean enabled, @Nullable String domainId, @Nullable String defaultProjectId)
-
delete
@Named("users:delete") @DELETE @Path("/{id}") boolean delete(@PathParam("id") String id)
-
listGroups
@Named("users:groups") @GET @Path("/{id}/groups") List<Group> listGroups(@PathParam("id") String id)
-
listProjects
@Named("users:projects") @GET @Path("/{id}/projects") List<Project> listProjects(@PathParam("id") String id)
-
-