Method: RSAML::Protocol::RequestedAuthnContext#validate

Defined in:
lib/rsaml/protocol/requested_authn_context.rb

#validateObject

Validate the structure of the requested authn context

Raises:



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