Class Oauth2Controller


  • @RestController
    @RequestMapping("/oauth2")
    public class Oauth2Controller
    extends Object
    • Constructor Detail

      • Oauth2Controller

        public Oauth2Controller()
    • Method Detail

      • login

        @GetMapping("/login")
        public org.springframework.http.ResponseEntity<String> login​(String name,
                                                                     javax.servlet.http.HttpSession session,
                                                                     javax.servlet.http.HttpServletRequest request)
      • callback

        @GetMapping("/callback")
        public void callback​(String code,
                             String state,
                             javax.servlet.http.HttpServletRequest request)