iya-sts
    Preparing search index...

    Variable writeResponse

    writeResponse: (decision: any) => { Response: { Decision: any }[] } = writeResponse

    Type Declaration

      • (decision: any): { Response: { Decision: any }[] }
      • Writes a PDP decision as a JSON Profile response.

        The status message is carried only on a non-ok status; obligations, advice and the policy identifier list are written when present.

        Parameters

        • decision: any

          the PDP's result, whose decision is one of the four external values

        Returns { Response: { Decision: any }[] }

        an object of the shape { Response: [result] }