iya-sts
    Preparing search index...

    Variable buildSamlAssertion

    buildSamlAssertion: (
        subject: string,
        audience?: string,
        lifetimeMin?: number,
        opts?: BuildOptions,
    ) => string = ...

    Type Declaration

      • (
            subject: string,
            audience?: string,
            lifetimeMin?: number,
            opts?: BuildOptions,
        ): string
      • Builds a SAML 2.0 assertion about a subject and, unless told not to, signs it.

        The validity window is widened at both ends by saml.clockSkewS; the authentication context class defaults to unspecified.

        Parameters

        • subject: string

          the subject's name

        • Optionalaudience: string

          the audience restriction; none when absent

        • OptionallifetimeMin: number

          the lifetime in minutes; 60 when absent

        • Optionalopts: BuildOptions

          authnContextClassRef, attributes, nameIdFormat, nameIdValue, subjectConfirmation, sessionIndex, authnInstant, issuer, nameQualifier, spNameQualifier, attributeQuery, delegates and sign

        Returns string

        the assertion's XML