Sha256: 2e5ac7dfc8e1533013de7f382359bb83aae9b00dd09748f40e2d51e99759dd64

Contents?: true

Size: 944 Bytes

Versions: 1

Compression:

Stored size: 944 Bytes

Contents

module Onelogin
  module Saml
    class Settings
      def initialize(overrides = {})
        config = DEFAULTS.merge(overrides)
        config.each do |k,v|
          acc = "#{k.to_s}=".to_sym
          self.send(acc, v) if self.respond_to? acc
        end
      end
      attr_accessor :assertion_consumer_service_url, :issuer, :sp_name_qualifier
      attr_accessor :idp_sso_target_url, :idp_cert_fingerprint, :idp_cert, :name_identifier_format
      attr_accessor :authn_context
      attr_accessor :idp_slo_target_url
      attr_accessor :name_identifier_value
      attr_accessor :sessionindex
      attr_accessor :assertion_consumer_logout_service_url
      attr_accessor :compress_request
      attr_accessor :double_quote_xml_attribute_values
      attr_accessor :passive
      attr_accessor :force_authn

      private
      
      DEFAULTS = {:compress_request => true, :double_quote_xml_attribute_values => false}
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-samlnechotech-0.7.25 lib/onelogin/ruby-samlnechotech/settings.rb