rootstrap / ios-base

Boilerplate for new iOS projects using Swift 5. Provides a handful of functionalities.
https://rootstrap.com/
MIT License
259 stars 63 forks source link

Feature/automatic logout #72

Closed glm4 closed 6 years ago

glm4 commented 6 years ago
  1. Refactored SessionDataManager and UserDataManager. -Renamed SessionDataManager to SessionManager. -Changed class methods to static vars with custom getters and setters. -Improved current session validation. -Updated test for new session validation.

  2. Added automatic logout feature. -Clearing local user data and session when 401 forbidden is received from API.

Fixes #65, #70