IDCA 授权云

接口与集成文档

在线签发 POST /auth

JSON:domaintemplate_versionold_tokennonce(≥16)。

返回 data + signature,用 LICENSE_SIGN_SECRET 验签。

模板端 SDK

文件:extend/TemplateAuthClient.php

离线 → 缓存 → /auth,验签后写缓存。

离线包

CLI:php think license:offline -s 域名 -t 版本 -e 2030-12-31 -o path.json

后台 / 用户中心可下载已签名离线 JSON。