Nodes token

An auth token issued by a backend for a fixed list of nodes, with an expiry in seconds and a list of scopes. Meant to be handed to a browser or another party.

A nodes token names the nodes it may reach (node_uuids), how long it lives (expires_seconds, required) and what it may do there (scopes; the older tasks allow-list still works but the response carries a deprecation notice). It can be pinned to IP addresses and linked to the issuing account. The issuer must hold tokens:issue, and the token can never hold more than the issuer does.