|
|
|
@ -2,6 +2,8 @@ package com.monkeyk.sos.web.controller;
|
|
|
|
|
|
|
|
|
|
import org.springframework.stereotype.Controller; |
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
|
import org.springframework.web.bind.annotation.RequestMethod; |
|
|
|
|
|
|
|
|
|
import static com.monkeyk.sos.domain.shared.SOSConstants.DEVICE_VERIFICATION_ENDPOINT_URI; |
|
|
|
|
|
|
|
|
@ -24,7 +26,7 @@ public class OAuth2DeviceVerificationController {
|
|
|
|
|
* |
|
|
|
|
* @return view |
|
|
|
|
*/ |
|
|
|
|
@GetMapping(DEVICE_VERIFICATION_ENDPOINT_URI) |
|
|
|
|
@RequestMapping(value = DEVICE_VERIFICATION_ENDPOINT_URI, method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
|
public String deviceVerification() { |
|
|
|
|
return "device_verification"; |
|
|
|
|
} |
|
|
|
|