- added
customerIdparameter toCustomer::getCustomers()function to filter customers by their ID. - fixed various typos
-
All API classes can now directly be used from the Cryptolens base class
-
Analytics class no longer extends Cryptolens base class
-
removed php closing tag within classes and excess empty lines
-
added documentation for internal functions
-
quality improvements
-
added php class headers
- added support to User authentication endpoints
login,register,associate,dissociate,getUsers,changePassword,resetPasswordToken,removeUser - added support to Customer endpoint
get_customer_licenses_by_secret
- added support to Data endpoints
addDataObject,listDataObject,incrementIntValue,decrementIntValue,setStringValue,setIntValue,removeDataObject,uploadValues - added support for License file validation
License.cryptolens.php:verifyLicenseKey,verifyLicenseFromFileContent. SeeREADME.mdfor configuration
- added error handler class
Errors.cryptolens.phpwhich will now return you the respectful errors and logs them into files. - added support to Analytics endpoints
registerEvent,getEvents,getObjectLog,getWebAPILog - added examples
- added support to Customer endpoints
addCustomer,editCustomer,removeCustomer,getCustomerLicensesandgetCustomers
- added support to Subscription endpoint
record_usage - corrected
groupattribute inPaymentForm.cryptolens.php
- added support to Reseller endpoints
addReseller,editReseller,removeReseller,getResellersandgetResellerCustomers
- now supporting the Messages endpoints
createMessage,removeMessageandgetMessages - rewritten some error messages
$additional_flagsis now parsed correctly to theHelper::build_params()function- booleans are now parsed correctly to the Cryptolens API
- added support for Payment Form endpoint
createSession - updated
README.mdwith another Code Example and updated the current status of the machine ID generation - small changes to the
composer.json - fixed return values for
Key::activate()to now return arrays on errors to be compliant with theHelper::outputHelper()function
- fixed require path for
Cryptolens::loader()-function
- added two functions to generate a machine ID for the PHP instance.
Key::getMachineId()returns a hash of the machine ID, whereasKey::getMachineIdPlain()returns the machine ID in readable format, not hashed. Read the function documentation for information of this hash being calculated.
- outsourced helper function into the
Helper.cryptolens.phpclass - improved error messages and removed unnecessary information on failure
- added the
Auth.cryptolens.phpwhich brings support to thekeyLockAuth endpoint - added the
Product.cryptolens.phpto support thegetKeysandgetProductsendpoint
- added support for composer
- minor change to the
unblock_key-function, it now returns a true on success and not the full Cryptolens response
- added support for Key endpoints
removeFeature,unblockKey,machineLockLimit
- removed debugging code
- fixed incorrect array keys for
createTrialKey-endpoint - added support for Key endpoints
createKeyFromTemplate,getKey,addFeature,blockKeyandextendLicense - added the possibility to change the output format to either JSON or PHP, therefore added the
$outputvariable to theCryptolensconstructor- when using
Cryptolens::CRYPTOLENS_OUTPUT_PHPas output, it significantly increases the time to load, where asCryptolens::CRYPTOLENS_OUTPUT_JSONworks way faster - certain functions return only a boolean, therefore they are not affected by this setting
- when using
- added Cryptolens classes
- added support for Key endpoints
activate,deactivate,createKeyandcreateTrialKey