Package cn.vertxup.rbac.api
Interface UserAgent
@EndPoint
@Path("/api")
public interface UserAgent
-
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.json.JsonObjectcreate(io.vertx.core.json.JsonObject data) io.vertx.core.json.JsonObjectmodified by Hongwei at 2019/12/06 add get, create, update and delete methods for user domain.io.vertx.core.json.JsonObjectio.vertx.core.json.JsonObjectlogout()io.vertx.core.json.JsonObjectpassword(io.vertx.core.json.JsonObject params) io.vertx.core.json.JsonObjectprofile(io.vertx.core.json.JsonObject params) io.vertx.core.json.JsonObjectsearchByType(String identifier, io.vertx.core.json.JsonObject criteria) io.vertx.core.json.JsonObject
-
Method Details
-
password
@POST @Path("user/password") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/X-PASSWORD") io.vertx.core.json.JsonObject password(@BodyParam io.vertx.core.json.JsonObject params) -
profile
@POST @Path("user/profile") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/X-PROFILE") io.vertx.core.json.JsonObject profile(@BodyParam io.vertx.core.json.JsonObject params) -
logout
@POST @Path("user/logout") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/O-LOGOUT") io.vertx.core.json.JsonObject logout() -
getById
@GET @Path("/user/:key") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/X-USER/GET/ID") io.vertx.core.json.JsonObject getById(@PathParam("key") String key) modified by Hongwei at 2019/12/06 add get, create, update and delete methods for user domain. -
create
@POST @Path("/user") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/X-USER/ADD") io.vertx.core.json.JsonObject create(@BodyParam io.vertx.core.json.JsonObject data) -
update
@PUT @Path("/user/:key") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/X-PUT/USER/ID") io.vertx.core.json.JsonObject update(@PathParam("key") String key, @BodyParam io.vertx.core.json.JsonObject data) -
delete
-
searchByType
@POST @Path("/user/search/:identifier") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/X-USER/QR/SEARCH") io.vertx.core.json.JsonObject searchByType(@PathParam("identifier") String identifier, @BodyParam io.vertx.core.json.JsonObject criteria) -
information
@GET @Path("user") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/X-INFORMATION") io.vertx.core.json.JsonObject information()
-