Beispiel #1
0
 public bool Equals(GenerateTokenRequest other)
 {
     if (ReferenceEquals(other, null))
     {
         return(false);
     }
     if (ReferenceEquals(other, this))
     {
         return(true);
     }
     if (!Claims.Equals(other.Claims))
     {
         return(false);
     }
     if (Interval != other.Interval)
     {
         return(false);
     }
     return(Equals(_unknownFields, other._unknownFields));
 }
Beispiel #2
0
 public bool Equals(VerifyTokenReply other)
 {
     if (ReferenceEquals(other, null))
     {
         return(false);
     }
     if (ReferenceEquals(other, this))
     {
         return(true);
     }
     if (!Claims.Equals(other.Claims))
     {
         return(false);
     }
     if (ResultCode != other.ResultCode)
     {
         return(false);
     }
     if (!object.Equals(ResultReply, other.ResultReply))
     {
         return(false);
     }
     return(Equals(_unknownFields, other._unknownFields));
 }