Skip to main content

Module bridge_gnap

Module bridge_gnap 

Source
Expand description

GNAP (RFC 9635) + DPoP (RFC 9449) bridge — Rust mirror of tools/tf-types-ts/src/core/bridge-gnap.ts.

The bridge does not run an HTTP server; it provides typed shapes for a start → continue → access GNAP flow plus DPoP proof verification and ActorIdentity projection from a verified bound access token.

Structs§

DpopProofVerification
GnapAccessTokenRequest
GnapAccessTokenResponse
GnapBridge
GnapBridgeConfig
GnapClient
GnapGrantRequest
GnapGrantResponse
GnapKeyDescriptor
GnapVerifiedGrant

Enums§

GnapAccessRight

Functions§

jwk_thumbprint
Compute the RFC 7638 thumbprint of a JWK using SHA-256. The mandatory member set is per RFC 7638 §3.2: kty + key-specific set in lexicographic order.