Optional Readonly canInforms validator whether given capability can be issued by a given DID or whether it needs to be delegated to the issuer.
Optional Readonly catchReadonly codecReadonly idService DID which will be used to verify that received invocation audience matches it.
Optional Readonly principalTakes principal parser that can be used to turn a UCAN.Principal
into Ucanto.Principal.
Optional Readonly resolveReadonly serviceActual service providing capability handlers.
Generated using TypeDoc
A definition for a Service, combined with an optional handler method for execution errors.
Used as input to @ucanto/server#create |
Server.createwhen defining a service implementation.