Expand description
SP-capability-v2 Phase B.1 — JWT compact-form structural decoder.
Parses a UCAN-lite token (<header>.<payload>.<signature>) into a
UcanPayload. Does not verify the signature — that’s Phase B.2
(ucan::verify::verify_chain). Pure structural validation: alg / typ /
ucv / cmd / DID-method-prefix only.
Spec: docs/archive/superpowers/specs/2026-05-11-sp-capability-v2-design.md §4.1, §4.3, §4.4, §4.5
Functions§
- parse_
jwt - Decode a JWT compact-form UCAN-lite token into its payload.