LibraryH3lp supports two types of authentication, cookie-based and HTTP basic auth. Both types use HTTPS only. To ensure credential privacy, unencrypted HTTP is not supported.
LibraryH3lp supports cookie-based authentication over HTTPS.
Allows you to obtain an authentication cookie to be included in subsequent API requests.
You must POST the following parameters:
|username||String containing the username of the user account that you wish to use for subsequent API calls.|
|password||String containing the password corresponding to the username.|
Returns a JSON response with the following properties. If successful, the response will contain a session cookie to be used in subsequent API requests.
|success||Boolean indicating if the request was successful.|
|username||Optional. If success is true, username is a string containing the username of the successfully authenticated user.|
|message||Optional. If success is null, message is a string describing the reason for the failed request.|