Options for UCAN validation.

Hierarchy

Properties

canIssue?: ((capability, issuer) => boolean)

Type declaration

    • (capability, issuer): boolean
    • Informs validator whether given capability can be issued by a given DID or whether it needs to be delegated to the issuer.

      Parameters

      Returns boolean

id: Signer<`did:${string}:${string}`, SigAlg>
principal: PrincipalParser

Takes principal parser that can be used to turn a UCAN.Principal into Ucanto.Principal.

validateAuthorization: ((proofs) => Await<Space.Store.Schema.Result<Unit, Revoked>>)

Type declaration

Generated using TypeDoc