Logout does not work when using Microsoft Authentication Library (MSAL)

拈花ヽ惹草 提交于 2019-12-06 06:36:52

This is happening because the service does not support certain features that would result in a user sign out. This is still a work in progress.

Just add following line in Droid Project:

CookieManager.Instance.RemoveAllCookie();

in iOS,

 foreach (var cookie in NSHttpCookieStorage.SharedStorage.Cookies)
 {
   NSHttpCookieStorage.SharedStorage.DeleteCookie (cookie);
 }

and for more details visit this link https://developer.xamarin.com/guides/xamarin-forms/cloud-services/authentication/azure/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!