Class: SAML2::Conditions::OneTimeUse

Inherits:
Condition show all
Defined in:
lib/saml2/conditions.rb

Instance Attribute Summary

Attributes inherited from Base

#xml

Instance Method Summary collapse

Methods inherited from Condition

#valid?

Methods inherited from Base

#decrypt, #from_xml, from_xml, #initialize, #inspect, load_object_array, load_string_array, lookup_qname, #to_s, #to_xml

Constructor Details

This class inherits a constructor from SAML2::Base

Instance Method Details

#build(builder) ⇒ void

This method returns an undefined value.

Serialize this object to XML, as part of a larger document

Parameters:

  • builder (Nokogiri::XML::Builder)

    The builder helper object to serialize to.


140
141
142
# File 'lib/saml2/conditions.rb', line 140

def build(builder)
  builder['saml'].OneTimeUse
end

#validate(_) ⇒ []

The caller will need to see if this condition exists, and validate it using their own state store.

Returns:

  • ([])

135
136
137
# File 'lib/saml2/conditions.rb', line 135

def validate(_)
  []
end