在没有浏览器重定向的情况下触发SignOut [英] Trigger SignOut without browser Redirection

查看:154
本文介绍了在没有浏览器重定向的情况下触发SignOut的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

全部,

是否可以从应用程序触发注销而不实际将浏览器重定向到Shell?

Is it possible to trigger a signout from the application without actually redirecting the browser to Shell?

谢谢

推荐答案

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。


这篇关于在没有浏览器重定向的情况下触发SignOut的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆