SimplicityMobile / Simplicity

A simple way to implement Facebook and Google login in your iOS apps.
Apache License 2.0
681 stars 66 forks source link

Multiple app launch #27

Closed Alex293 closed 7 years ago

Alex293 commented 7 years ago

Hi, Simplicity is working great in my project but what is the preferred way to store the token after getting it ? Can you provide a tiny sample ?

edjiang commented 7 years ago

Hey! Simplicity doesn't have a preference, and it's up to you how to store it. Many people will exchange it for a token in their own backend, and store it in the Keychain. You could try a Keychain wrapper if you'd like, for instance:

https://github.com/marketplacer/keychain-swift