auth.provider API
    Preparing search index...

    Adapter primitive for grant-policy hooks.

    NOTE: this name previously coexisted with a contributes-map placeholder (type GrantPolicyHook = unknown) at packages/core/src/modules/manifest/contributes-map.mts. The v0.5.1 AS-7 collision resolution renamed that placeholder to GrantPolicyHookContribution, freeing this name for the canonical interface; the *Base deprecation alias previously exposed alongside was removed.

    interface GrantPolicyHook {
        kind: string;
        evaluate(
            request: GrantPolicyRequest,
            ctx: GrantPolicyContext,
        ): Promise<GrantPolicyDecision>;
    }
    Index

    Properties

    Methods

    Properties

    kind: string

    Methods