Optional [Optional Readonly canInforms validator whether given capability can be issued by a given DID or whether it needs to be delegated to the issuer.
Readonly 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 materialized Server that is configured to use a specific transport channel. The
ServerViewhas an InvocationContext which contains the DID of the service itself, among other things.Returned by @ucanto/server#create |
Server.createwhen instantiating a server.