Module: Saml::Kit::Trustable
Instance Method Summary collapse
Instance Method Details
#signed? ⇒ Boolean
12 13 14 |
# File 'lib/saml/kit/trustable.rb', line 12 def signed? signature_manually_verified || signature.present? end |
#trusted? ⇒ Boolean
22 23 24 25 26 |
# File 'lib/saml/kit/trustable.rb', line 22 def trusted? return true if signature_manually_verified return false unless signed? signature.trusted?(provider) end |