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

principal?: PrincipalParser

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

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

Type declaration

Generated using TypeDoc