Methods
canIssue
- canIssue(capability: {
can: Ability;
nb?: {};
with: URI<`${string}:`>;
}, issuer: `did:${string}:${string}`): boolean
-
Parameters
-
capability: {
can: Ability;
nb?: {};
with: URI<`${string}:`>;
}
-
-
Optional
nb?: {}
-
with: URI<`${string}:`>
-
issuer: `did:${string}:${string}`
Returns boolean
Informs validator whether given capability can be issued by a given DID or whether it needs to be delegated to the issuer.