iya-sts
    Preparing search index...

    Variable decideAccess

    decideAccess: (
        application: string,
        request: any,
        options?: { resolve?: boolean },
    ) => AccessAnswer = ...

    Type Declaration

      • (
            application: string,
            request: any,
            options?: { resolve?: boolean },
        ): AccessAnswer
      • Decides an AuthZEN request against an application's own fine-grained policy alone.

        Parameters

        • application: string

          the application the caller is asking about

        • request: any

          AuthZEN's request, in xacml_model.js's shape, with fgaAccess()'s two facts

        • Optionaloptions: { resolve?: boolean }

          resolve: false decides with no PIP (AuthZEN's resolveSubjectTypes line)

        Returns AccessAnswer

        { ok: true, answer, policy, policyId, version }, the answer the PDP's (an Indeterminate through a fault marked STS-XACML-0013); or { ok: false, code, why, policy } — the resolve failure's code, or STS-FGA-0015 for a throw