public void Logout() { _client.Logout(); // If the user chose to "Remember Me" while authenticating with google, then // the credentials are stored in cookies. We need to clear the cookies // to fully logout the user. foreach (var cookie in NSHttpCookieStorage.SharedStorage.Cookies) { NSHttpCookieStorage.SharedStorage.DeleteCookie(cookie); } }
public void Logout() { _client.Logout(); // If the user chose to "Remember Me" while authenticating with google, then // the credentials are stored in cookies. We need to clear the cookies // to fully logout the user. CookieManager cookieManager = CookieManager.Instance; if (cookieManager != null) { cookieManager.RemoveAllCookie(); } }