Setup Authentication Manager

The first step in integrating the Authentication Manager is importing AuthenticationManager and then initializing the shared instance. Parameters like your Service Key, Secret Key, and private key can all be found in the service details section of your Subscriber Service within your online Dashboard.

Definition

init(appKey, secretKey, privateKey)

Parameters

appKey:integer 10 digit unique Service Key found in the service details section of your Dashboard
appSecret:string Secret Key found in the service details section of your Dashboard
privateKey:string Private key of your service RSA Public/Private Key Pair found in the service details section of your Dashboard

Example

...

//declare a global variable
AuthenticationManager mAuthManager;

//obtain shared instance of the manager
mAuthManager = AuthenticationManager.getInstance();

//initialize
mAuthManager.init(appKey, appSecret, 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. ×