Module: Saml::ComplexTypes::RequestAbstractType

Extended by:
ActiveSupport::Concern
Includes:
Base, XMLHelpers
Included in:
ArtifactResolve, AuthnRequest, StatusResponseType, LogoutRequest
Defined in:
lib/saml/complex_types/request_abstract_type.rb

Instance Method Summary collapse

Methods included from XMLHelpers

#add_signature, #to_soap, #to_xml

Instance Method Details

#initialize(*args) ⇒ Object



35
36
37
38
39
40
41
# File 'lib/saml/complex_types/request_abstract_type.rb', line 35

def initialize(*args)
  super(*args)
  @_id           ||= Saml.generate_id
  @issue_instant ||= Time.now
  @issuer        ||= Saml.current_provider.entity_id
  @version       ||= Saml::SAML_VERSION
end

#providerSaml::Provider

Returns:



44
45
46
# File 'lib/saml/complex_types/request_abstract_type.rb', line 44

def provider
  Saml.provider(issuer)
end