@orangecheck/agent-core / sealScopes
Function: sealScopes()
function sealScopes(input: SealScopesInput): Promise<ScopesEncryptedEnvelope>;
Defined in: agent-core/src/private-scope.ts:64
Seal a scope list to one or more recipients. Returns the OC Lock envelope
to be embedded as delegation.scopes_encrypted.
Parameters
| Parameter | Type |
|---|---|
input | SealScopesInput |
Returns
Promise<ScopesEncryptedEnvelope>