lib/rsaml/statement/authentication_statement.rb
def validate
        if session_not_on_or_after && !session_not_on_or_after.utc?
          raise ValidationError, "Session not on or after must be UTC"
        end
        raise ValidationError, "Authn context required" unless authn_context
        raise ValidationError, "Authn instant required" unless authn_instant
        raise ValidationError, "Authn instant must be UTC" unless authn_instant.utc?
      end
# Validate the structure of the authentication statement. Raise a ValidationError if the 
# statement is invalid.
Validate the structure of the authentication statement. Raise a ValidationError if the
statement is invalid.
Validate the structure of the authentication statement . Raise a ValidationError if the statement is invalid .
def validate
        if session_not_on_or_after && !session_not_on_or_after.utc?
          raise ValidationError, "Session not on or after must be UTC"
        end
        raise ValidationError, "Authn context required" unless authn_context
        raise ValidationError, "Authn instant required" unless authn_instant
        raise ValidationError, "Authn instant must be UTC" unless authn_instant.utc?
      end
def validate if session_not_on_or_after && ! session_not_on_or_after . utc? raise ValidationError , "Session not on or after must be UTC" end raise ValidationError , "Authn context required" unless authn_context raise ValidationError , "Authn instant required" unless authn_instant raise ValidationError , "Authn instant must be UTC" unless authn_instant . utc? end
Validate the structure of the authentication statement.
Validate the structure of the authentication statement .