class SamlIdp::Configurator
Attributes
algorithm[RW]
assertion_consumer_service_hosts[RW]
attribute_service_location[RW]
attributes[RW]
base_saml_location[RW]
entity_id[RW]
logger[RW]
organization_name[RW]
organization_url[RW]
password[RW]
reference_id_generator[RW]
secret_key[RW]
service_provider[RW]
session_expiry[RW]
single_logout_service_post_location[RW]
single_logout_service_redirect_location[RW]
single_service_post_location[RW]
single_service_redirect_location[RW]
x509_certificate[RW]
Public Class Methods
new()
click to toggle source
# File lib/saml_idp/configurator.rb, line 27 def initialize self.x509_certificate = Default::X509_CERTIFICATE self.secret_key = Default::SECRET_KEY self.algorithm = :sha1 self.reference_id_generator = ->() { SecureRandom.uuid } self.service_provider = OpenStruct.new self.service_provider.finder = ->(_) { Default::SERVICE_PROVIDER } self.service_provider.metadata_persister = ->(id, settings) { } self.service_provider.persisted_metadata_getter = ->(id, service_provider) { } self.session_expiry = 0 self.attributes = {} self.logger = defined?(::Rails) ? Rails.logger : ->(msg) { puts msg } end
Public Instance Methods
name_id()
click to toggle source
formats getter
# File lib/saml_idp/configurator.rb, line 43 def name_id @name_id ||= OpenStruct.new end
technical_contact()
click to toggle source
# File lib/saml_idp/configurator.rb, line 47 def technical_contact @technical_contact ||= TechnicalContact.new end