Represents a decoded "view" of a UCAN as a JS object that can be used in your domain logic, etc.

Type Parameters

Hierarchy

Properties

att: C
audience: UCAN.PrincipalView<`did:${string}:${string}`>
capabilities: C
code: UCAN.Code
exp: null | number
expiration: number
facts: Fact[]
fct: Fact[]
issuer: UCAN.PrincipalView<`did:${string}:${string}`>
model: UCAN.Model<C>
nbf?: number
nnc?: string
nonce?: string
notBefore?: number
prf: UCANLink<Capabilities, MulticodecCode<number, string>, SigAlg>[]
proofs: UCANLink<Capabilities, MulticodecCode<number, string>, SigAlg>[]
s: SignatureView<unknown, SigAlg>
signature: SignatureView<unknown, SigAlg>
v: `${number}.${number}.${number}`
version: `${number}.${number}.${number}`

Methods

  • Returns ByteView<UCAN.UCAN<C>>

  • Returns UCAN.JWT<C>

Generated using TypeDoc