iya-sts
    Preparing search index...

    Variable parseResponse

    parseResponse: (
        xml: any,
    ) => {
        results: {
            advice: {
                assignments: {
                    attributeId: any;
                    category: any;
                    lexical: string;
                    type: any;
                }[];
                id: any;
            }[];
            decision: string;
            obligations: {
                assignments: {
                    attributeId: any;
                    category: any;
                    lexical: string;
                    type: any;
                }[];
                id: any;
            }[];
            status: { code: any };
        }[];
    } = parseResponse

    Type Declaration

      • (
            xml: any,
        ): {
            results: {
                advice: {
                    assignments: {
                        attributeId: any;
                        category: any;
                        lexical: string;
                        type: any;
                    }[];
                    id: any;
                }[];
                decision: string;
                obligations: {
                    assignments: {
                        attributeId: any;
                        category: any;
                        lexical: string;
                        type: any;
                    }[];
                    id: any;
                }[];
                status: { code: any };
            }[];
        }
      • Reads a XACML 3.0 <Response> document back, for the conformance runner.

        Parameters

        • xml: any

          the response document text

        Returns {
            results: {
                advice: {
                    assignments: {
                        attributeId: any;
                        category: any;
                        lexical: string;
                        type: any;
                    }[];
                    id: any;
                }[];
                decision: string;
                obligations: {
                    assignments: {
                        attributeId: any;
                        category: any;
                        lexical: string;
                        type: any;
                    }[];
                    id: any;
                }[];
                status: { code: any };
            }[];
        }

        { results }, each result with its decision, status, obligations and advice

        an IndeterminateError with the syntax-error status when the document is malformed or its root is not a Response