File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -443,15 +443,17 @@ async def validate_license(
443443 self , license_key : str , app_id : Optional [str ] = None , hwuid : Optional [str ] = None
444444 ) -> Dict [str , Any ]:
445445 """
446- Validate a license key.
446+ Validate a license key (POST /v1/licenses/verify) .
447447
448448 Args:
449449 license_key: License key to validate
450450 app_id: Application ID for validation (optional)
451451 hwuid: Optional hardware/device ID for ecosystem HMAC/HWUID contract
452452
453453 Returns:
454- License validation result
454+ Full API JSON. When the API has license JWT signing configured, the payload may
455+ include ``license_token`` (RS256 JWT), ``license_token_expires_at``, and
456+ ``license_jwks_uri`` for offline verification with the JWKS at GET /v1/licenses/jwks.
455457 """
456458 payload : Dict [str , Any ] = {"key" : license_key }
457459 if app_id :
You can’t perform that action at this time.
0 commit comments