public void LogOutUser(AuthorizationContext filterContext) { IFormsAuthenticationService formsService = new FormsAuthenticationService(); formsService.SignOut(); NotAuthorized(filterContext); }
public void LogOutUser(AuthorizationContext filterContext) { IFormsAuthenticationService formsService = new FormsAuthenticationService(); formsService.SignOut(); AddNoOutputCacheHeaders(filterContext); filterContext.Result = new HttpUnauthorizedResult(); }
public void LogOutUser(AuthorizationContext filterContext) { IFormsAuthenticationService formsService = new FormsAuthenticationService(); formsService.SignOut(); AddNoOutputCacheHeaders(filterContext); filterContext.Result = new HttpUnauthorizedResult(); }
private void LogOutUser(AuthorizationContext filterContext) { IFormsAuthenticationService formsService = new FormsAuthenticationService(); formsService.SignOut(); NotAuthorized(filterContext); }