lib/auth.js
function Auth(clientId, clientSecret)
{
	if (!(this instanceof Auth))
		return new Auth(clientId, clientSecret);
	
	this.clientId = clientId;
	this.clientSecret = clientSecret;
	
	if (!this.clientId || !this.clientSecret)
		throw new Error('No Client ID / Client Secret provided!');
}
function Auth(clientId, clientSecret)
{
	if (!(this instanceof Auth))
		return new Auth(clientId, clientSecret);
	
	this.clientId = clientId;
	this.clientSecret = clientSecret;
	
	if (!this.clientId || !this.clientSecret)
		throw new Error('No Client ID / Client Secret provided!');
}
function Auth ( clientId , clientSecret ) { if ( ! ( this instanceof Auth ) ) return new Auth ( clientId , clientSecret ) ; this . clientId = clientId ; this . clientSecret = clientSecret ; if ( ! this . clientId || ! this . clientSecret ) throw new Error ( 'No Client ID / Client Secret provided!' ) ; }
The constructor for the authentication to a nello.

@class Auth
@param {String}  		  clientId			Client ID used for authentication
@param {String}  		  clientSecret		Client Secret used for authentication
@returns {Auth}
@constructor
@see https://nelloauth.docs.apiary.io/#reference/0/token/create-a-new-token-client-credentials
The constructor for the authentication to a nello .