Sha256: ad65ccb47593cbb0e5d0b2caf11c005abfddab34d2c404acbfeecf3f6129aced

Contents?: true

Size: 1.1 KB

Versions: 3

Compression:

Stored size: 1.1 KB

Contents

xml.instruct!
xml.EntityDescriptor entity_descriptor_options do
  signature_for(reference_id: id, xml: xml)
  xml.IDPSSODescriptor idp_sso_descriptor_options do
    configuration.certificates(use: :signing).each do |certificate|
      render certificate, xml: xml
    end
    configuration.certificates(use: :encryption).each do |certificate|
      render certificate, xml: xml
    end
    logout_urls.each do |item|
      xml.SingleLogoutService Binding: item[:binding], Location: item[:location]
    end
    name_id_formats.each do |format|
      xml.NameIDFormat format
    end
    single_sign_on_urls.each do |item|
      xml.SingleSignOnService Binding: item[:binding], Location: item[:location]
    end
    attributes.each do |attribute|
      xml.tag! 'saml:Attribute', Name: attribute
    end
  end
  xml.Organization do
    xml.OrganizationName organization_name, 'xml:lang': "en"
    xml.OrganizationDisplayName organization_name, 'xml:lang': "en"
    xml.OrganizationURL organization_url, 'xml:lang': "en"
  end
  xml.ContactPerson contactType: "technical" do
    xml.Company "mailto:#{contact_email}"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
saml-kit-0.2.6 lib/saml/kit/builders/templates/identity_provider_metadata.builder
saml-kit-0.2.5 lib/saml/kit/builders/templates/identity_provider_metadata.builder
saml-kit-0.2.4 lib/saml/kit/builders/templates/identity_provider_metadata.builder