CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Apr 2015 |
Maintained by Kristin.
LaunchKey is an identity and access management platform This iOS SDK enables developers to quickly integrate the LaunchKey platform and iOS based applications without the need to directly interact with the platform API.
Developer documentation for using the LaunchKey API is found here.
An overview of the LaunchKey platform can be found here.
Utilization of the LaunchKey SDK requires the following items:
LaunchKey Account - The LaunchKey Mobile App is required to set up a new account and access the LaunchKey Dashboard.
An application - A new application can be created in the LaunchKey Dashboard. From the application, you will need the following items found in the keys section of the application details:
The framework, source, and doc files are available through either CocoaPods or GitHub.
Download the framework for the LaunchKey SDK and add them to your project:
Initialize the LKAuthenticationManager
[[LKAuthenticationManager sharedClient] init:@"Your Rocket Key"
withSecretKey:@"Your Secret Key"
withPrivateKey:@"Your Private Key"];
Use the SDK
Authorize a user identifier via LaunchKey. The identifier can either be the LaunchKey username, userPushId or unique identifier (used in the whitelabel pairing process)
[[LKAuthenticationManager sharedClient] authorize:@"identifier" withSuccess:^(NSString *userHash, NSString *authRequest, NSString *userPushId, NSString *deviceId) {
} withFailure:^(NSString *errorMessage, NSString *errorCode) {
//error handling
}];
Determine whether the username is still authorized (i.e. has not remotely ended the session)
[[LKAuthenticationManager sharedClient] isAuthorized:@"authRequest" withSuccess:^(BOOL authorized) {
} withFailure:^(NSString *errorMessage, NSString *errorCode) {
//error handling
}];
End a session
[[LKAuthenticationManager sharedClient] logout:@"authRequest" withSuccess:^{
} withFailure:^(NSString *errorMessage, NSString *errorCode) {
//error handling
}];
Add a white label user
[[LKAuthenticationManager sharedClient] createWhiteLabelUser:@"identifier"withSuccess:^(NSString *qrCode, NSString *qrUrl) {
// Show the user the QR Code from the QR Code URL to be validated in a white label application
} withFailure:^(NSString *errorMessage, NSString *errorCode) {
//error handling
}];
Submit feature requests and bugs on GitHub.
Submit a question to the Twitter Handle @LaunchKeyHelp.
Engage the LaunchKey team in the #launchkey
chat room on freenode.
Browse FAQ's or submit a question to the LaunchKey support team for both technical and non-technical issues. Visit the LaunchKey Help Desk here.