class SamlIdp::Configurator

Attributes

algorithm[RW]
attribute_service_location[RW]
attributes[RW]
base_saml_location[RW]
entity_id[RW]
organization_name[RW]
organization_url[RW]
password[RW]
reference_id_generator[RW]
secret_key[RW]
service_provider[RW]
single_logout_service_post_location[RW]
single_service_post_location[RW]
x509_certificate[RW]

Public Class Methods

new() click to toggle source
# File lib/saml_idp/configurator.rb, line 20
def initialize
  self.x509_certificate = Default::X509_CERTIFICATE
  self.secret_key = Default::SECRET_KEY
  self.algorithm = :sha1
  self.reference_id_generator = ->() { UUID.generate }
  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.attributes = {}
end

Public Instance Methods

name_id() click to toggle source

formats getter

# File lib/saml_idp/configurator.rb, line 34
def name_id
  @name_id ||= OpenStruct.new
end
technical_contact() click to toggle source
# File lib/saml_idp/configurator.rb, line 38
def technical_contact
  @technical_contact ||= TechnicalContact.new
end