jmap-kit
    Preparing search index...

    Variable blobAccountSupportPluginConst

    blobAccountSupportPlugin: ValidationPlugin<"invocation"> = ...

    Validates that invocations using the Blob capability have a valid accountId that supports the Blob capability.

    This plugin performs three critical validation checks:

    1. Verifies the invocation includes a valid accountId argument (non-empty string)
    2. Confirms the account exists in the session's accounts collection
    3. 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.