Package com.logicaldoc.webservice.rest
Interface AuthService
-
- All Known Implementing Classes:
RestAuthClient
,RestAuthService
,RestAuthSwagger
@Consumes({"application/xml","application/json"}) @Produces("application/json") public interface AuthService
Auth Web Service definition interface for Rest Services- Since:
- 7.5
- Author:
- Alessandro Gasparini - LogicalDOC
-
-
Method Detail
-
login
@GET @Path("/login") String login(@QueryParam("u") String username, @QueryParam("pw") String password) throws Exception
- Throws:
Exception
-
loginPost
@POST @Path("/login") @Consumes("application/x-www-form-urlencoded") String loginPost(@FormParam("username") String username, @FormParam("password") String password) throws Exception
- Throws:
Exception
-
loginPostJSON
@POST @Path("/login") @Consumes("application/json") String loginPostJSON(String jsonstr) throws Exception
- Throws:
Exception
-
logout
@DELETE @Path("/logout") void logout(@QueryParam("sid") String sid)
-
getSid
@GET @Path("/getSid") @Produces({"application/json","text/plain"}) String getSid()
-
-