Beignet API reference
    Preparing search index...

    Function requireTenantScope

    • Return a branded tenant scope from ctx.tenant or throw.

      Throws TenantRequiredError by default through requireTenant. Pass options.error to throw an app-owned error instead.

      Parameters

      Returns TenantScope