Skip to main content

Module identity

Module identity 

Source
Expand description

Hosted identity and tenancy contracts (roadmap phase 72, Task 1).

These types are additive for local mode: a locally-run Roder never constructs them. Hosted gateways resolve a HostedRequestContext from validated credentials before JSON-RPC dispatch; no core thread/turn DTO ever accepts a caller-supplied tenant id.

Structs§

HostedRequestContext
Fully resolved request identity, attached by the hosted gateway before dispatch. Local mode never builds one.
TenantContext

Enums§

AuthorizationDecision
Outcome of an authorization check, carrying a redaction-safe reason.
HostedRole
Tenant-level role of a principal.
HostedScope
Coarse hosted access scopes attached to a credential.
PrincipalContext
Who is acting: a human user or a service account. Credential material (tokens, key hashes) never appears here.

Type Aliases§

ServiceAccountId
TenantId
UserId