Extends
Methods
loginServiceAccount(clientAccount, apiKey, callbackopt)
Authenticate as headless service account.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
clientAccount |
String |
tillhub client account uuid |
|
apiKey |
String |
name of service account (a type of user in the registered in the client account) |
|
callback |
authCallback |
<optional> |
optional callback |
- Source:
loginUsername(username, password, callbackopt)
Authenticate by username
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
username |
String |
the tillhub client account e-mail address |
|
password |
String |
the password corresponding to the tillhub client account\ |
|
callback |
authCallback |
<optional> |
optional callback |
- Source: