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