Subversion Repositories SmartDukaan

Rev

Rev 23568 | Rev 23698 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23568 Rev 23697
Line 107... Line 107...
107
 
107
 
108
	@Autowired
108
	@Autowired
109
	private UserService userService;
109
	private UserService userService;
110
 
110
 
111
	@RequestMapping(value = ProfitMandiConstants.URL_USER_GOOGLE_LOGIN, method = RequestMethod.POST)
111
	@RequestMapping(value = ProfitMandiConstants.URL_USER_GOOGLE_LOGIN, method = RequestMethod.POST)
112
	public ResponseEntity<?> googleLogin(HttpServletRequest request, @RequestBody GoogleLoginRequest googleLoginRequest) throws ProfitMandiBusinessException{
112
	public ResponseEntity<?> googleLogin(HttpServletRequest request, @RequestBody String googleLoginRequest) throws ProfitMandiBusinessException{
113
		LOGGER.info("requested url : " + request.getRequestURL().toString());
113
		LOGGER.info("requested url : " + googleLoginRequest);
114
		return responseSender.ok(googleLoginProcessor.process(googleLoginRequest));
114
		return responseSender.ok(googleLoginRequest);
115
	}
115
	}
116
 
116
 
117
	@RequestMapping(value = ProfitMandiConstants.URL_USER_TOKEN_IS_EXPIRED, method = RequestMethod.GET)
117
	@RequestMapping(value = ProfitMandiConstants.URL_USER_TOKEN_IS_EXPIRED, method = RequestMethod.GET)
118
	public ResponseEntity<?> tokenIsExpired(HttpServletRequest request, @RequestParam(name = "token") String token) throws ProfitMandiBusinessException{
118
	public ResponseEntity<?> tokenIsExpired(HttpServletRequest request, @RequestParam(name = "token") String token) throws ProfitMandiBusinessException{
119
		LOGGER.info("requested url : " + request.getRequestURL().toString());
119
		LOGGER.info("requested url : " + request.getRequestURL().toString());