【发布时间】:2022-01-01 06:37:47
【问题描述】:
我正在尝试创建管理员可以在系统中停用用户的功能。我知道HttpContext.SignOutAsync(); 和await HttpContext.SignOutAsync(IdentityServerConstants.DefaultCookieAuthenticationScheme); 可以指定当前用户,但我如何通过他们的id/用户名等为特定用户执行此操作。
【问题讨论】:
标签: .net asp.net-core identityserver4 logout