Initialize The Authentication Manager

The first step in integrating the Authentication Manager is to import LKAuthenticationManager and then initialize the shared instance. There are different methods for Directory Service and Subscriber Service or Organization Service implementations.

LaunchKey Service

Definition

init(serviceKey, secretKey, privateKey)

Parameters

These values can be found within the Service Details section of your service within your Dashboard.

serviceKey:integer 10 digit unique term:Service Key
secretKey:string Secret Key
privateKey:string Private key of your service RSA Public/Private Key Pair

Example

using LaunchKeyManager;
LKAuthenticationManager.Instance.init(serviceKey, secretKey, privateKey);

Authenticator Service

Definition

initAsWhiteLabel(serviceKey, secretKey, privateKey)

Parameters

These values can be found within the Service Details section of your Authenticator service within your Dashboard.

serviceKey:integer 10 digit unique term:Service Key
secretKey:string Secret Key
privateKey:string Private key of your service RSA Public/Private Key Pair

Example

using LaunchKeyManager;
LKAuthenticationManager.Instance.initAsWhiteLabel(serviceKey, secretKey, privateKey);

User Contributed

LaunchKey links to user contributed code as a resource to its community. LaunchKey does not in any way guarantee or warrant the quality and security of these code bases. User contributed code is supported by the creators. If you do find a link from the site to user contributed code that is malicious or inappropriate in any way, please report that link to LaunchKey immediately and we will investigate the claim. Submit any issue to LaunchKey support at https://launchkey.com./support. ×