POST /authJSON:domain、template_version、old_token、nonce(≥16)。
返回 data + signature,用 LICENSE_SIGN_SECRET 验签。
文件:extend/TemplateAuthClient.php
离线 → 缓存 → /auth,验签后写缓存。
CLI:php think license:offline -s 域名 -t 版本 -e 2030-12-31 -o path.json
后台 / 用户中心可下载已签名离线 JSON。