类 AbstractOauthControlPanelController

    • 构造器详细资料

      • AbstractOauthControlPanelController

        public AbstractOauthControlPanelController()
    • 方法详细资料

      • getOauthType

        protected abstract String getOauthType()
        获取oauth类型
        返回:
        oauth类型
      • bind

        @IgnoreLogin
        @PostMapping("/bind")
        public LoginResponse bind​(@RequestBody
                                  BindRequest bindRequest,
                                  javax.servlet.http.HttpServletRequest request)
      • bind

        @PostMapping("/unbind")
        public void bind()
      • bindStatus

        @GetMapping("/bindStatus")
        public boolean bindStatus()
      • getLoginSucceedDTO

        protected LoginResponse getLoginSucceedDTO​(User user,
                                                   String openId,
                                                   javax.servlet.http.HttpServletRequest request,
                                                   String loginType)
      • findUser

        protected User findUser​(String openId)
      • setUserService

        @Autowired
        public void setUserService​(UserService userService)
      • setUserOauthService

        @Autowired
        public void setUserOauthService​(UserOauthService userOauthService)
      • setLoginLogService

        @Autowired
        public void setLoginLogService​(LoginLogService loginLogService)
      • setJwtHelper

        @Autowired
        public void setJwtHelper​(UserJwtHelper jwtHelper)