iya-sts
    Preparing search index...

    Variable checkGnapRights

    checkGnapRights: (
        request: any,
    ) =>
        | { policy: string; verdicts: any; why: any }
        | { policy?: undefined; verdicts: any[]; why: string }
        | { policy: any; verdicts: any; why: string } = checkGnapRights

    Type Declaration

      • (
            request: any,
        ):
            | { policy: string; verdicts: any; why: any }
            | { policy?: undefined; verdicts: any[]; why: string }
            | { policy: any; verdicts: any; why: string }
      • Puts the per-right GNAP question (#432 phase 3) to the issuance policy, with the facts gnap/gnap_rights.ts gathered.

        Never throws and never returns a promise. With no decider, or a decider that throws or answers no verdicts, the built-in policy decides.

        Parameters

        • request: any

          { subject, protocol, mode, stage, settings, rights }

        Returns
            | { policy: string; verdicts: any; why: any }
            | { policy?: undefined; verdicts: any[]; why: string }
            | { policy: any; verdicts: any; why: string }

        { verdicts, why, policy }