Method: Onelogin::Saml::Response#trusted_find

Defined in:
lib/onelogin/saml/response.rb

#trusted_find(xpath) ⇒ Object



90
91
92
93
94
# File 'lib/onelogin/saml/response.rb', line 90

def trusted_find(xpath)
  trusted_roots.map do |trusted_root|
    trusted_root.xpath("descendant-or-self::#{xpath}", Onelogin::NAMESPACES).to_a
  end.flatten.compact
end