CocoaPods trunk is moving to be read-only. Read more on the blog, there are 9 months to go.
| TestsTested | ✓ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Nov 2015 |
| SPMSupports SPM | ✗ |
Maintained by Roman Gal.
iOS lib written in Swift that takes care about all basic auth features provided by any RW backend.
Standart Auth Path defined in AuthPath.swift. If you want to change defaults paths, scheme and host appropriately to yours Auth Paths, do next:
AuthPath.signUp = "/new/signup/path"To access auth fuctionality use User’s class methods. For example:
User.signInWithEmail(email, password: password) { (innerResult) -> Void in
// do something with innerResult
}Most methods have closure argument of type Result<Any, NSError>. That type may contains parsed JSON as [String: AnyObject] or NSError with error discription.