Skip to main content

protocol/identity/principals

packages/protocol/src/identity/principals

Purpose

Principal middleware requirement tags.

Public surface

AuthenticatedAgent

Class
Principal requirement: the connection is an authenticated agent. The sole principal gate — every gated method heads its requires with this tag, rejecting the unauthenticated pre-connect arm.

PrincipalRequirement

TypeAlias
The principal-requirement tag that heads a gated RPC descriptor.

Files

  • authenticated-agent.ts
  • types.ts