Method: RSAML::Protocol::RequestedAuthnContext#validate
- Defined in:
- lib/rsaml/protocol/requested_authn_context.rb
#validate ⇒ Object
Validate the structure of the requested authn context
23 24 25 |
# File 'lib/rsaml/protocol/requested_authn_context.rb', line 23 def validate raise ValidationError, "Unknown comparison type: #{comparison}" unless RequestedAuthContext.comparisons.include?(comparison) end |