Sha256: a5f400818aab46a98824316eae7ad02b65530478cddff5972fe7c0aecd5a29f2

Contents?: true

Size: 645 Bytes

Versions: 2

Compression:

Stored size: 645 Bytes

Contents

# frozen_string_literal: true

xml.SPSSODescriptor 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
  acs_urls.each_with_index do |item, index|
    xml.AssertionConsumerService Binding: item[:binding], Location: item[:location], index: index, isDefault: index.zero?
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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