Class: Saml::Elements::SubjectConfirmation

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/saml/elements/subject_confirmation.rb

Defined Under Namespace

Classes: Methods

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ SubjectConfirmation

Returns a new instance of SubjectConfirmation.



21
22
23
24
25
26
27
# File 'lib/saml/elements/subject_confirmation.rb', line 21

def initialize(*args)
  options                    = args.extract_options!
  @subject_confirmation_data = Saml::Elements::SubjectConfirmationData.new(:recipient      => options.delete(:recipient),
                                                                           :in_response_to => options.delete(:in_response_to))
  super(*(args << options))
  @_method ||= Methods::BEARER
end