Subversion Repositories SmartDukaan

Rev

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

Rev 26590 Rev 26592
Line 160... Line 160...
160
	@RequestMapping(value = ProfitMandiConstants.URL_USER_GOOGLE_LOGIN, method = RequestMethod.POST)
160
	@RequestMapping(value = ProfitMandiConstants.URL_USER_GOOGLE_LOGIN, method = RequestMethod.POST)
161
	public ResponseEntity<?> googleLogin(HttpServletRequest request, @RequestBody GoogleLoginRequest googleLoginRequest)
161
	public ResponseEntity<?> googleLogin(HttpServletRequest request, @RequestBody GoogleLoginRequest googleLoginRequest)
162
			throws ProfitMandiBusinessException {
162
			throws ProfitMandiBusinessException {
163
		return responseSender.ok(googleLoginProcessor.process(googleLoginRequest.getToken()));
163
		return responseSender.ok(googleLoginProcessor.process(googleLoginRequest.getToken()));
164
	}
164
	}
165
	@RequestMapping(value = "/store/token/{storeCode}", method = RequestMethod.POST)
165
	@RequestMapping(value = "/store/token/{storeCode}", method = RequestMethod.GET)
166
	public ResponseEntity<?> googleLogin(HttpServletRequest request, @PathVariable String storeCode)
166
	public ResponseEntity<?> googleLogin(HttpServletRequest request, @PathVariable String storeCode)
167
			throws ProfitMandiBusinessException {
167
			throws ProfitMandiBusinessException {
168
		return responseSender.ok(googleLoginProcessor.processStore(storeCode));
168
		return responseSender.ok(googleLoginProcessor.processStore(storeCode));
169
	}
169
	}
170
 
170