LAPLink Action
Protocol
VIEN
Contents

Protocol / Consent and grants

Consent and grants

Every action declares a risk level. The provider uses it to decide what proof of approval is needed before acting.

Risk levels

R0 · Lookup and display
Reading data or rendering content can complete as soon as the link is opened.
R1 · Private and reversible
The user can confirm directly or delegate to a device, for example to save a draft.
R2 · Public or hard to undo
The preview must state the effect clearly. When a grant is used, it must name the action and set numeric limits.
R3 · Money or physical safety
propose only. The user is verified at the moment of the action, for example with WebAuthn. Grants cannot be used at this level.

Signing devices and grants

The user registers a signing device (Trusted Signer) and creates a Grant in the provider's interface. The grant states which actions the device may sign, its limits and when it expires. The user can revoke it in one step.

For execute actions, the device sends a JWS-signed request by POST. The provider checks the signature, the audience (aud), a validity window of at most 60 seconds, the replay id (jti) and the scope of the grant before acting.

Where instructions come from

A signed request must come from something the user did or said directly to the registered device. Content read from websites, messages or audio is treated as data. Every action carried out under a grant is logged so the user can review it.