Login

This method will return all licenses that belong to the user. This method can be called with an access token that has UserAuthNormal and UserAuthAdmin permission.

This method is accessed by https://api.cryptolens.io/api/userauth/Login

Parameters

Parameter Description Remarks
Username The username required
Password The password required
v Method version. optional. by default, it's 1.

Results

Parameter Description Remarks
LicenseKeys The list of license keys that belong to the user. always returned
Result This is either 0(=success) or 1(=error). always returned
Message The message that provides additional information about the result. always returned.

Example results

{"result":0,"message":""}

Errors

Error
Access denied.
The input parameters were incorrect.
Unable to authenticate user.
No username or password supplied.
;