Class: Saml::Elements::AuthnStatement
- Inherits:
-
Object
- Object
- Saml::Elements::AuthnStatement
- Includes:
- Base
- Defined in:
- lib/saml/elements/authn_statement.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ AuthnStatement
constructor
A new instance of AuthnStatement.
Constructor Details
#initialize(*args) ⇒ AuthnStatement
Returns a new instance of AuthnStatement.
18 19 20 21 22 23 |
# File 'lib/saml/elements/authn_statement.rb', line 18 def initialize(*args) = args. @subject_locality = Saml::Elements::SubjectLocality.new(address: .delete(:address)) if [:address] @authn_context = Saml::Elements::AuthnContext.new(authn_context_class_ref: .delete(:authn_context_class_ref)) if [:authn_context_class_ref] super(*(args << )) end |