2016-03-14 63 views
1

我使用Twitter在Azure移動應用程序中對用戶進行身份驗證。我想將帳戶信息保存在手機上,以便用戶在每次啓動應用程序時都不必登錄。這是一個Xamarin.iOS應用程序。如何在Xamarin.iOS Azure移動應用程序中存儲帳戶信息?

如果我正在構建一個Windows應用程序,我會使用PasswordVault,如the Azure Mobile Apps documentation under "Caching the authentication token"中所述。

如果我使用Xamarin.Auth,我將使用AccountStore,如the Xamarin.Auth documentation under "Storing and Retrieving Account Information on Devices"中所述。

我看到Azure Mobile App SDK包含a modified version of the Xamarin.Auth plugin。我可以用那種方式使用AccountStore嗎?

如果不是,在Xamarin.iOS中保存帳戶信息的最佳方法是什麼?

回答

相關問題