Synopsis
Parameters
| Parameter |
Type |
Description |
| login |
string |
The name of the user to log in as. |
| password |
string |
The password of the user to log in as. |
Returns
A token that may be used as credentials for further calls to the API.
Description
Attempts to log in with the given credentials and, if successful, returns a token representing a new remote API session. The token will be valid for 30 minutes after this function returns. To explicitly invalidate the token, call RemoteApi.logout.