Sha256: 85bb9da6ae198a811a05cd3bd9363e664c7ac25e33fc86b29aeef29db652f7ee

Contents?: true

Size: 623 Bytes

Versions: 6

Compression:

Stored size: 623 Bytes

Contents

module Onelogin::Saml
  class Settings
    attr_accessor :assertion_consumer_service_url, :issuer, :sp_name_qualifier
    attr_accessor :idp_sso_target_url, :idp_slo_target_url, :idp_cert_fingerprint, :name_identifier_format, :return_to_url

    def private_key=(private_key_path)
      @private_key =  OpenSSL::PKey::RSA.new(File.read(private_key_path))
    end

    def private_key
      @private_key
    end

    def idp_public_cert=(idp_public_cert_path)
      @idp_public_cert = OpenSSL::X509::Certificate.new(File.read(idp_public_cert_path))
    end

    def idp_public_cert
      @idp_public_cert
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ruby-saml-for-portal-0.4.2 lib/onelogin/saml/settings.rb
ruby-saml-for-portal-0.4.1 lib/onelogin/saml/settings.rb
ruby-saml-for-portal-0.4.0 lib/onelogin/saml/settings.rb
ruby-saml-for-portal-0.3.9 lib/onelogin/saml/settings.rb
ruby-saml-for-portal-0.3.8 lib/onelogin/saml/settings.rb
ruby-saml-for-portal-0.3.7 lib/onelogin/saml/settings.rb