iya-sts
    Preparing search index...

    Variable decide

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

    Type Declaration

      • (question: FgaQuestion): FgaAnswer
      • Asks whether one authorization detail of an application that ENFORCES fine-grained authorization may be granted. Never throws.

        Parameters

        • question: FgaQuestion

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

        Returns FgaAnswer

        { outcome, code, why, … }: permit, deny (a decision) or failure (a fault: no decider, STS-FGA-0016; a decider that threw or answered nothing usable, STS-FGA-0015; or the decider's own failure)