bynk.types.claims_at_boundary
Error TokenClaims appears where a value is stored or sent: a field of a type, or a boundary such as a call, a message or an agent.
An Oidc actor's binder carries the verified token's claims (who.claims) for the handler that received the token. They are read there and never kept: a TokenClaims can't be a field, or cross a call, a message or an agent. Read the claim you need and keep that String.
Example
type Seen = { claims: TokenClaims } // ✗
let repo = w.claims.get("repository") // ✓ keep the StringIn the Book
See also
- Every code in its category, Type checking, on the diagnostic index.
bynk explain bynk.types.claims_at_boundaryshows the same from the installed toolchain, without a network.