iya-sts
    Preparing search index...

    Variable checkedAssertion

    checkedAssertion: (
        assertion: any,
        what: any,
    ) =>
        | {
            errorCode: string;
            ok: boolean;
            reason: string;
            subject?: undefined;
            trustFault?: undefined;
        }
        | {
            errorCode: string;
            ok: boolean;
            reason: string;
            subject?: undefined;
            trustFault: string;
        }
        | {
            errorCode?: undefined;
            ok: boolean;
            reason?: undefined;
            subject: any;
            trustFault?: undefined;
        } = ...

    Type Declaration

      • (
            assertion: any,
            what: any,
        ):
            | {
                errorCode: string;
                ok: boolean;
                reason: string;
                subject?: undefined;
                trustFault?: undefined;
            }
            | {
                errorCode: string;
                ok: boolean;
                reason: string;
                subject?: undefined;
                trustFault: string;
            }
            | {
                errorCode?: undefined;
                ok: boolean;
                reason?: undefined;
                subject: any;
                trustFault?: undefined;
            }
      • Checks a SAML assertion presented to this STS, as a credential or inside OnBehalfOf or ActAs: its signature against this realm's own signing certificate, its conditions within oauth2.clockSkewS, and a subject.

        Parameters

        • assertion: any

          the assertion element

        • what: any

          what it was presented as, for the refusal

        Returns
            | {
                errorCode: string;
                ok: boolean;
                reason: string;
                subject?: undefined;
                trustFault?: undefined;
            }
            | {
                errorCode: string;
                ok: boolean;
                reason: string;
                subject?: undefined;
                trustFault: string;
            }
            | {
                errorCode?: undefined;
                ok: boolean;
                reason?: undefined;
                subject: any;
                trustFault?: undefined;
            }

        { ok, subject }, or { ok: false, errorCode, … } — with trustFault: 'ExpiredData' on an expired one, the one refusal here whose section 11 code does not depend on the seat it was presented in