numutracker / numutracker_ios

Numu Tracker for iOS - Numu is an app for keeping track of releases by your favorite musicians.
GNU General Public License v3.0
32 stars 9 forks source link

Credential Storage #4

Closed amiantos closed 6 years ago

amiantos commented 6 years ago

Should not be using UserDefaults for storing user credentials. While on the v2 backend, we should consider using NSURLCredential or a library like Locksmith

amiantos commented 6 years ago

Also need to write function that detects existing user information in UserDefaults and converts it over to the new credential storage, just to make it seamless for existing users.

amiantos commented 6 years ago

Looks like NSURLCredential is the way to go.

amiantos commented 6 years ago

Almost done with this. Just need to build a function to convert users logged in via UserDefaults over to URLCredential.