Identityserver3 将用户会话从自己的控制器操作方法服务器端踢出

Identityserver3 将用户会话从自己的控制器操作方法服务器端踢出,identityserver3,Identityserver3,在IdentityServer3中,我们是否为登录用户提供了任何扩展方法,如owincontext.Environment.logoutCurrentSession。我们有自己的自定义登录页面和注销页面,并且我们已经有自己的注销页面,在该页面中,我们用于通过context.Authentication.Signout文件注销现有用户。在Identity Server中,您需要使用用户标识调用LogoutEndPoint,以注销用户并结束会话。您还必须使用SignoutCleanup清理cooki

在IdentityServer3中,我们是否为登录用户提供了任何扩展方法,如owincontext.Environment.logoutCurrentSession。我们有自己的自定义登录页面和注销页面,并且我们已经有自己的注销页面,在该页面中,我们用于通过context.Authentication.Signout文件注销现有用户。

在Identity Server中,您需要使用用户标识调用LogoutEndPoint,以注销用户并结束会话。您还必须使用SignoutCleanup清理cookie。我认为,首先您需要阅读Identity Server 3