首页 > 解决方案 > 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

标签: c#asp.net-mvcowinaspnetboilerplate

解决方案


推荐阅读