Sha256: f16c53a6caffd055ac082208f74a709bbeda4fafab5b255f9a0f3d32a7ddbe7a
Contents?: true
Size: 882 Bytes
Versions: 7
Compression:
Stored size: 882 Bytes
Contents
# frozen_string_literal: true xml.Assertion(assertion_options) do xml.Issuer issuer signature_for(reference_id: reference_id, xml: xml) xml.Subject do xml.NameID name_id, name_id_options xml.SubjectConfirmation Method: Saml::Kit::Namespaces::BEARER do xml.SubjectConfirmationData '', subject_confirmation_data_options end end xml.Conditions conditions_options do if request.present? xml.AudienceRestriction do xml.Audience request.issuer end end end xml.AuthnStatement authn_statement_options do xml.AuthnContext do xml.AuthnContextClassRef Saml::Kit::Namespaces::PASSWORD end end if assertion_attributes.any? xml.AttributeStatement do assertion_attributes.each do |key, value| xml.Attribute Name: key do xml.AttributeValue value.to_s end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems