Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

justinkumpe/KumpeAppsAPI

Repository files navigation

KumpeAppsAPI

Initial Setup:

Set the following Keychain Groups under Capabilities

com.kumpeapps.ios.sso.secure
com.kumpeapps.ios.sso.access
com.kumpeapps.ios.sso.user

Add Following values in PList

LSApplicationQueriesSchemes Type:Array
Item0 Type:String Value: kumpeappssso
Privacy - Face ID Usage Description Type: String Value: FaceID is requried for remembered passwords
URL types Type: Array
Item 0 Type: Dictionary
URL Identifier Type: String Value: your_app_identifier
URL Schemes Type: Array
Item 0 Type: String Value: your_app_scheme


Set Parameters in AppDelegate under didFinishLaunchingWithOptions

KumpeAppsAPI.shared.setParams(sqlUser: "yourAppSqlUser", sqlPass: "yourAppSqlPass", otpSecret: "yourAppOTPSecret", appName: "yourAppName", apikey: "yourAppAPIKey", appScheme: "yourAppURLScheme", productCode: "yourAppsProductCode In KumpeApps")
NOTE: apikey, appScheme, and productCode parameters is optional and only required if using KumpeApps SSO for login



KumpeApps SSO

Place This in viewDidAppear
let access = KumpeAppsSSO.shared.confirmAccess()
if access == "AccessGranted"{
self.AccessGranted()
}else if access == "AccessDenied"{
self.AccessDenied()
}else{
show(KumpeAppsSSO.params.loginvc, sender: self)
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published