Module: login

Login to the corelink server with username and password or token If the credentials are incorrect then it throws an error. The module ends with a Promise. A promise is an object which can be returned synchronously from an asynchronous function.
Parameters:
Name Type Description
credentials String Refers to all login credentials like username,password and token.
Source: