Class: Saml::BasicProvider

Inherits:
Object
  • Object
show all
Includes:
Provider
Defined in:
lib/saml/basic_provider.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Provider

#artifact_resolution_service_url, #assertion_consumer_service, #assertion_consumer_service_indices, #assertion_consumer_service_url, #attribute_consuming_service, #attribute_service_url, #authn_requests_signed?, #certificate, #entity_id, #find_key_descriptor, #sign, #single_logout_service_url, #single_sign_on_service_url, #verify

Constructor Details

#initialize(entity_descriptor, private_key, type) ⇒ BasicProvider

Returns a new instance of BasicProvider.



6
7
8
9
10
# File 'lib/saml/basic_provider.rb', line 6

def initialize(entity_descriptor, private_key, type)
  @entity_descriptor = entity_descriptor
  @private_key       = private_key
  @type              = type
end

Instance Attribute Details

#entity_descriptorObject

Returns the value of attribute entity_descriptor.



4
5
6
# File 'lib/saml/basic_provider.rb', line 4

def entity_descriptor
  @entity_descriptor
end

#private_keyObject

Returns the value of attribute private_key.



4
5
6
# File 'lib/saml/basic_provider.rb', line 4

def private_key
  @private_key
end

#typeObject

Returns the value of attribute type.



4
5
6
# File 'lib/saml/basic_provider.rb', line 4

def type
  @type
end