客户端启动的注销,无需浏览器导航

时间:2020-03-25 21:39:40

标签: authentication identityserver4 identityserver3

作为ASP.NET MVC 5应用程序的Identity Server 4客户端和 需要从服务器注销(没有UI导航)的

基本上,

public ActionResult ChangeSettings(string code)
{
. . .
if (User.Identity.IsAuthenticated)
{
AuthenticationManager.SignOut(CookieAuthenticationDefaults.AuthenticationType,  OpenIdConnectAuthenticationDefaults.AuthenticationType);  ///How to get rid of this to redirect to Identity Server 4 as silently (no browser navigation).
}
...

}

我不确定,客户端启动反向通道流的任何方式或某些手动注销的方式。

0 个答案:

没有答案