iya-sts
    Preparing search index...

    Variable checkedAssertion

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

    Type Declaration

      • (
            assertion: any,
            what: any,
        ):
            | {
                errorCode: string;
                ok: boolean;
                reason: string;
                subject?: undefined;
            }
            | { errorCode?: undefined; ok: boolean; reason?: undefined; subject: any }
      • 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;
            }
            | { errorCode?: undefined; ok: boolean; reason?: undefined; subject: any }

        { ok, subject }, or { ok: false, errorCode, … }