Пример #1
0
 protected bool Equals(SamlError other)
 {
     return(string.Equals(Key, other.Key) && string.Equals(Message, other.Message));
 }
Пример #2
0
 public void LogError(SamlError error)
 {
     _errors.Add(error);
 }
Пример #3
0
 public void build_by_string_token()
 {
     var error = new SamlError(SamlValidationKeys.TimeFrameDoesNotMatch);
     error.Key.ShouldBe("TimeFrameDoesNotMatch");
     error.Message.ShouldBe(SamlValidationKeys.TimeFrameDoesNotMatch.ToString());
 }
Пример #4
0
 public void LogError(SamlError error)
 {
     _errors.Add(error);
 }
Пример #5
0
 protected bool Equals(SamlError other)
 {
     return string.Equals(Key, other.Key) && string.Equals(Message, other.Message);
 }