类 OauthController

java.lang.Object
com.publiccms.controller.web.oauth.OauthController

@Controller @RequestMapping("oauth") public class OauthController extends Object
  • 字段详细资料

  • 构造器详细资料

    • OauthController

      public OauthController()
  • 方法详细资料

    • login

      @RequestMapping("login/{channel}") public String login(@PathVariable("channel") String channel, @RequestAttribute SysSite site, String returnUrl, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      参数:
      channel -
      site -
      returnUrl -
      request -
      response -
      返回:
      view name
    • callback

      @RequestMapping("callback/{channel}") public String callback(@PathVariable("channel") String channel, @RequestAttribute SysSite site, String state, String code, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpSession session, jakarta.servlet.http.HttpServletResponse response, org.springframework.web.servlet.mvc.support.RedirectAttributes model)
      参数:
      channel -
      site -
      state -
      code -
      request -
      session -
      response -
      model -
      返回:
      view name