Implements token-based authentication that grants RPC and terminal access without requiring LuCI credentials. Support technicians can connect using a short 6-character code. CLI commands: - rttyctl token generate [ttl] [permissions] - rttyctl token list - rttyctl token validate <code> - rttyctl token revoke <code> - rttyctl token-rpc <code> <object> <method> [params] RPCD methods: - token_generate: Create support token with TTL - token_list: List active tokens - token_validate: Check token validity - token_revoke: Revoke a token - token_rpc: Execute RPC with token auth (no LuCI session needed) LuCI Support Panel: - Generate code with selectable validity (30m/1h/2h/4h) - Enter code to connect to remote node - Token-authenticated RPC execution - Live token list with copy/revoke actions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| resources/view/rtty-remote | ||