iya-sts
    Preparing search index...
    read: (
        xml: any,
        how: any,
    ) =>
        | {
            attributes: {};
            audiences: any[];
            authnStatements: number;
            confirmations: any[];
            hasConditions: boolean;
            hasSubject: boolean;
            id: string;
            issueInstant: string;
            issuer: string;
            keyInfoCertificate: string;
            nameIdFormat: string;
            notBefore: string;
            notOnOrAfter: string;
            ok: boolean;
            signed: boolean;
            subject: string;
            subjectWasEncrypted: boolean;
            unknownConditions: any[];
            version: string;
        }
        | { deferred?: undefined; element?: undefined; ok: boolean; why: string }
        | { deferred: boolean; element: any; ok?: undefined; why?: undefined } = read

    Type Declaration

      • (
            xml: any,
            how: any,
        ):
            | {
                attributes: {};
                audiences: any[];
                authnStatements: number;
                confirmations: any[];
                hasConditions: boolean;
                hasSubject: boolean;
                id: string;
                issueInstant: string;
                issuer: string;
                keyInfoCertificate: string;
                nameIdFormat: string;
                notBefore: string;
                notOnOrAfter: string;
                ok: boolean;
                signed: boolean;
                subject: string;
                subjectWasEncrypted: boolean;
                unknownConditions: any[];
                version: string;
            }
            | { deferred?: undefined; element?: undefined; ok: boolean; why: string }
            | { deferred: boolean; element: any; ok?: undefined; why?: undefined }
      • Reads a SAML 2.0 <Assertion> into its parts without deciding anything; nothing read is believed until the signature has verified.

        Parameters

        • xml: any

          the assertion's XML

        • how: any

          as for decryptIfNeeded() (#1955 P8 follow-up), for the EncryptedID: { defer } or { opened }; absent, it is decrypted here

        Returns
            | {
                attributes: {};
                audiences: any[];
                authnStatements: number;
                confirmations: any[];
                hasConditions: boolean;
                hasSubject: boolean;
                id: string;
                issueInstant: string;
                issuer: string;
                keyInfoCertificate: string;
                nameIdFormat: string;
                notBefore: string;
                notOnOrAfter: string;
                ok: boolean;
                signed: boolean;
                subject: string;
                subjectWasEncrypted: boolean;
                unknownConditions: any[];
                version: string;
            }
            | { deferred?: undefined; element?: undefined; ok: boolean; why: string }
            | { deferred: boolean; element: any; ok?: undefined; why?: undefined }

        the parts (id, issuer, subject, confirmations, audiences, attributes, signed and the rest), or { ok: false, why }