c# - Disable Tenant and logout all users Aspnetboilerplate
问题描述
I'm working with a multi-tenancy application using aspnetboilerplate framework.
When I disable a tenant, the users still logged until they ask to logout.
How can I force logout all users? From that tenant only.
I'm using ApplicationCookie for authentication
app.UseCookieAuthentication(new CookieAuthenticationOptions
{
AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,
LoginPath = new PathString("/Account/Login")
});
Thank you
解决方案
推荐阅读
- angular - Angular 6:当她在我的服务中更改时更新我的组件中的值
- amazon-web-services - 隧道到红移集群
- python - Python:根据过滤值从 Web API 获取 JSON 对象
- java - 关闭应用程序后在后台播放音乐
- r - 在 R 中进行 OLS 回归时得到错误的 beta
- java - 在 Java 中使用 Hibernate 更新实体列表
- javascript - 为什么将数字作为字符串传递到数组中会导致错误的结果?
- javascript - ReactJS 中的电子邮件验证无法正常工作
- javascript - Node.js 需要多个模块内的连接
- tfs - Team Foundation Server 备份工具