我正在使用Azure,我已经为我的Android应用设置了Google认证,它运行良好。但是,我第一次进行身份验证时输入了登录详细信息,现在每次都重复使用。它们与我平板电脑上的不同,我想要与那些人进行身份验证。如何强制身份验证过程再次显示登录屏幕? 使用单个方法调用调用身份验证过程:
if (AzureCloudService.Instance.MobileServiceUser != null)
{
if (Android.OS.Build.VERSION.SdkInt >= Android.OS.BuildVersionCodes.Lollipop)
{
Android.Webkit.CookieManager.Instance.RemoveAllCookies(null);
}else{
Android.Webkit.CookieManager.Instance.RemoveAllCookie();
}
await AzureCloudService.Instance.MobileServicesClient.LogoutAsync();
}
AzureCloudService.Instance.MobileServiceUser = null;
所以我看不到任何请求登录屏幕的选项应该显示出来。 我不知道在哪里寻找答案,很抱歉,如果这是显而易见的事情。 感谢。