net.stepniak.api.auth.controller
Class AuthController
java.lang.Object
net.stepniak.api.controller.ApiController
net.stepniak.api.auth.controller.BaseAuthController
net.stepniak.api.auth.controller.AuthController
@Service
public class AuthController
- extends BaseAuthController
| Fields inherited from class net.stepniak.api.controller.ApiController |
jsonMapper, request, uriInfo |
|
Method Summary |
javax.ws.rs.core.Response |
createByForm(String key,
String email,
String userName)
|
javax.ws.rs.core.Response |
createByJson(org.codehaus.jettison.json.JSONObject jsonObject)
|
javax.ws.rs.core.Response |
createByQueryString(String key,
String email,
String userName)
|
javax.ws.rs.core.Response |
createExternalByForm(String type,
String key,
String userId,
String userName,
String firstName,
String lastName,
String locale)
|
javax.ws.rs.core.Response |
createExternalByJson(String type,
org.codehaus.jettison.json.JSONObject jsonObject)
|
javax.ws.rs.core.Response |
createExternalByQueryString(String type,
String key,
String userId,
String userName,
String firstName,
String lastName,
String locale)
|
javax.ws.rs.core.Response |
retrieve(String id)
|
| Methods inherited from class net.stepniak.api.controller.ApiController |
fromJson |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthController
@Autowired
public AuthController(SessionStore sessionStore,
UserStore userStore)
createByForm
public javax.ws.rs.core.Response createByForm(String key,
String email,
String userName)
throws AuthException
- Throws:
AuthException
createByJson
public javax.ws.rs.core.Response createByJson(org.codehaus.jettison.json.JSONObject jsonObject)
throws AuthException
- Throws:
AuthException
createByQueryString
public javax.ws.rs.core.Response createByQueryString(String key,
String email,
String userName)
throws AuthException
- Throws:
AuthException
createExternalByForm
public javax.ws.rs.core.Response createExternalByForm(String type,
String key,
String userId,
String userName,
String firstName,
String lastName,
String locale)
createExternalByJson
public javax.ws.rs.core.Response createExternalByJson(String type,
org.codehaus.jettison.json.JSONObject jsonObject)
createExternalByQueryString
public javax.ws.rs.core.Response createExternalByQueryString(String type,
String key,
String userId,
String userName,
String firstName,
String lastName,
String locale)
retrieve
public javax.ws.rs.core.Response retrieve(String id)
Copyright © 2013. All Rights Reserved.