BoxlangLicenseRefresh
Refreshes an existing BoxLang license token. This function uses the stored refresh token to obtain a new access token from the licensing server, extending the validity of the license without requiring manual re-activation.
Method Signature
BoxlangLicenseRefresh()Arguments
No arguments. This function uses the stored refresh token from the active license.
Return Value
Returns a STRUCT with the following keys:
success(BOOLEAN) - Whether the refresh was successfulmessage(STRING) - Status message or error descriptionisValidLicense(BOOLEAN) - Whether the license is now validisTrialMode(BOOLEAN) - Whether the system is in trial modeexpirationDate(STRING) - New license expiration datelicenseType(STRING) - Type of license:BoxLang+orBoxLang++
Examples
Template Syntax
Script Syntax
Scheduled Refresh Example
Combined License Management Example
Related
BoxlangLicenseInfo()- Get current license status and informationBoxlangLicenseActivate()- Activate a new license with email and key
Last updated
Was this helpful?
