SSO 로그오프 방법 제공하기
protected string logoffUrl = string.Empty;
// 인증 객체 선언(Request와 Response 인계)
AuthCheck authCheck = new AuthCheck(Page.Request, Page.Response);
// 로그오프 URL 설정
logoffUrl = authCheck.CurrentSSOSite.GetLogoffUrl(Page.Request) + "?" + authCheck.CurrentSSOProvider.RequestSSOSiteParam + "=" +
authCheck.CurrentSSOSite.ID + "&" +
authCheck.CurrentSSOProvider.GetParamName(ParamInfo.RETURN_URL) + "=" +
HttpUtility.UrlEncode(authCheck.ThisURL, Encoding.UTF8);<a href="<%=logoffUrl %>">Logoff</a>Last updated
Was this helpful?