...
On success, this function returns the status code LMX_SUCCESS. If auth is failed the the authorization fails, this function returns LMX_AUTH_ERROR.
If there are too much failed attemps many failed attempts, this function returns the status code LMX_AUTH_TOO_MANY.
Rest Other error codes returned on failure , are described in Return codes.
...