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
the assertion's XML
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 tounspecified.