且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在没有浏览器重定向的情况下触发SignOut

更新时间:2022-04-09 23:32:20

Hi Shyam,

Hi Shyam,

点击退出后,应用程序将重定向到HV登录如果您的主页是从HealthServicePage派生的,则该页面是预期的行为。



如果您使用的是.Net SDK,则可以使用  HealthServicePage的SignOut方法,当您退出时为您执行浏览器重定向。



请参阅
http://msdn.microsoft.com/en-us/library/microsoft.health.web.healthservicepage.signout.aspx
了解更多信息。

After clicking on Sign Out, the application will redirect to HV Login page which is an expected behavior if your main page is derived from HealthServicePage.

In case you are using .Net SDK you can use the  HealthServicePage's SignOut method which does the browser redirection for you when you sign out.

Please see http://msdn.microsoft.com/en-us/library/microsoft.health.web.healthservicepage.signout.aspx for more information.

谢谢,Piyali。