![]() ![]()
This makes it more secure than a regular WebKit view.Īnother big advantage of AuthenticationService's web view is that it can access cookies on your device. AuthenticationServices runs in a separate process from your app, making sure that there's no way for your app to spy on the user while they're logging in. To make the process as secure as possible, you'll use ASWebAuthenticationSession, a class from the built-in AuthenticationServices framework specifically created for authenticating your users inside a web view. This is why I wrote this guide to arm you with the knowledge and trust to ditch Facebook's SDK securely. However, getting the security right can be a bit tricky, and the information on Facebook's docs and the Internet is scattered and incomplete. The web view will act as a sandbox, making sure your user's data stays as private as possible and saving you from having to include Facebook's SDK into your app. The process is similar to how the SDK works, except we'll use iOS-provided web views to show the login.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |