Auth

Auth

Auth

Constructor

new Auth(clientId, clientSecret) → {Auth}

The constructor for the authentication to a nello.
Source:
See:
Parameters:
Name Type Description
clientId String Client ID used for authentication
clientSecret String Client Secret used for authentication
Returns:
Type:
Auth

Methods

retrieveToken(void) → {Promise.<Object>}

This function retrieves a new token.
Source:
Parameters:
Name Type Description
void
Returns:
Type:
Promise.<Object>