Validates that invocations using the Blob capability have a valid accountId that supports the Blob capability.
This plugin performs three critical validation checks:
Verifies the invocation includes a valid accountId argument (non-empty string)
Confirms the account exists in the session's accounts collection
Ensures the account's accountCapabilities includes the Blob capability URI
This validation applies to all Blob capability invocations (Blob/upload, Blob/get, Blob/lookup)
and implements the account capability checks for the Blob Management Extension (RFC 9404).
Note: Blob/copy is part of the Core capability and is validated separately in core-capability.ts.
Validates that invocations using the Blob capability have a valid accountId that supports the Blob capability.
This plugin performs three critical validation checks:
accountIdargument (non-empty string)accountCapabilitiesincludes the Blob capability URIThis validation applies to all Blob capability invocations (
Blob/upload,Blob/get,Blob/lookup) and implements the account capability checks for the Blob Management Extension (RFC 9404).Note:
Blob/copyis part of the Core capability and is validated separately in core-capability.ts.