iya-sts
    Preparing search index...

    Variable decide

    decide: (question: FgaQuestion) => FgaAnswer = ...

    Type Declaration

      • (question: FgaQuestion): FgaAnswer
      • Decides one authorization detail against its owning application's policy, and audits the decision.

        Parameters

        • question: FgaQuestion

          the application, the detail, its declaredTypes() entry, the stage, and the realm, client, subject and grant

        Returns FgaAnswer

        { outcome, code, why, policy, policyId, version, decision, digest }: permit; deny (STS-FGA-0014, or the mapping's 0100–0107); failure (the resolve failure's code, or STS-FGA-0015)