我已经被验证用户身份对服务器本机Windows客户端应用程序。登录工作正常。但是,我不能退出的用户。
Here is the link of the source code that I am using
我试过,没有运气logoutAsync方法。一旦用户登录,每当我启动应用程序,点击登录,它会自动登录用户。
在样本您提供内部LogoutButton_Click代码被注释掉了。
private async void LogoutButton_Click(object sender, EventArgs e)
{
// await _oidcClient.LogoutAsync(trySilent: Silent.Checked);
// AccessTokenDisplay.Clear();
// OtherDataDisplay.Clear();
}