These docs are for v2.0. Click to read the latest docs for v2.1.

login()

Usage

CleengApi.login(callback);

Opens popup window prompting customer to login at Cleeng platform.

Example

CleengApi.login(function(result) {
    if (result.token) {
        alert('You successfuly logged in to Cleeng Platform. Your access token is ' + result.token);
    }
});

Go to API Console