Sha256: 36f79e8c76f6927af70203968ee3492e0d966039e647c48b67ed05ad6d2e1b90

Contents?: true

Size: 682 Bytes

Versions: 2

Compression:

Stored size: 682 Bytes

Contents

# frozen_string_literal: true

xml.IDPSSODescriptor 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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
saml-kit-1.0.11 lib/saml/kit/builders/templates/identity_provider_metadata.builder
saml-kit-1.0.10 lib/saml/kit/builders/templates/identity_provider_metadata.builder