Method: OneLogin::KlRubySaml::SloLogoutrequest#not_on_or_after
- Defined in:
- lib/onelogin/kl-ruby-saml/slo_logoutrequest.rb
#not_on_or_after ⇒ Time|nil
Returns Gets the NotOnOrAfter Attribute value if exists.
102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/onelogin/kl-ruby-saml/slo_logoutrequest.rb', line 102 def not_on_or_after @not_on_or_after ||= begin node = REXML::XPath.first( document, "/p:LogoutRequest", { "p" => PROTOCOL } ) if node && node.attributes["NotOnOrAfter"] Time.parse(node.attributes["NotOnOrAfter"]) end end end |