iOS SDK Integration Guide
Overview
Requirements
Xcode 11.4+
Swift 5.0
iOS 11.0+
Please update to the latest SDK!
Steps
1. Installation
The humanID SDK is available through CocoaPods. To install it, simply add the following line to your Podfile:
2. Get Credentials
Get the clientID and clientSecret through the App Registration Form.
3. Configuration
Add this code to your AppDelegate.swift and make sure all the values are fulfilled.
4. Using the iOS SDK
Add this code to your ViewController file. We recommend you wrap this in a function that handles the login button.
5. You Are All Set!
Your iOS app should now be integrated with the humanID login.
Sample
See our Github for a full sample to learn more!
Warning! To run the example project, clone the repo, and run pod install from the Example directory first.
Last updated