Beignet API reference
    Preparing search index...

    Type Alias EntitlementCheckOptions<TContext>

    Optional context for entitlement checks.

    type EntitlementCheckOptions<TContext = unknown> = {
        ctx?: TContext;
        source?: EntitlementDecisionSource;
    }

    Type Parameters

    • TContext = unknown
    Index
    ctx?: TContext

    Application context used for the check. Observers can use this to copy request correlation fields without coupling the resolver to app context.

    Source to report to observers. Port methods set this automatically.