diff --git a/src/Twilio/AuthStrategies/BasicAuthStrategy.cs b/src/Twilio/AuthStrategies/BasicAuthStrategy.cs
index 62d6f94b4..0ab73b9a8 100644
--- a/src/Twilio/AuthStrategies/BasicAuthStrategy.cs
+++ b/src/Twilio/AuthStrategies/BasicAuthStrategy.cs
@@ -35,5 +35,10 @@ public override bool Equals(object obj)
return username == that.username && password == that.password;
}
+ public override int GetHashCode()
+ {
+ return HashCode.Combine(username, password);
+ }
+
}
}
diff --git a/src/Twilio/AuthStrategies/TokenAuthStrategy.cs b/src/Twilio/AuthStrategies/TokenAuthStrategy.cs
index 4560c663f..a0fd07e60 100644
--- a/src/Twilio/AuthStrategies/TokenAuthStrategy.cs
+++ b/src/Twilio/AuthStrategies/TokenAuthStrategy.cs
@@ -62,6 +62,11 @@ public override bool Equals(object obj)
return token == that.token && tokenManager.Equals(that.tokenManager);
}
+ public override int GetHashCode()
+ {
+ return HashCode.Combine(token, tokenManager);
+ }
+
public bool tokenExpired(String accessToken){
#if NET35
diff --git a/src/Twilio/Clients/BearerToken/TwilioOrgsTokenRestClient.cs b/src/Twilio/Clients/BearerToken/TwilioOrgsTokenRestClient.cs
index 6302b0c7a..6ac86fcf4 100644
--- a/src/Twilio/Clients/BearerToken/TwilioOrgsTokenRestClient.cs
+++ b/src/Twilio/Clients/BearerToken/TwilioOrgsTokenRestClient.cs
@@ -28,7 +28,7 @@ namespace Twilio.Clients.BearerToken
///
/// Implementation of a TwilioRestClient.
///
- [Beta]
+ [Deprecated]
public class TwilioOrgsTokenRestClient
{
///
diff --git a/src/Twilio/Clients/TwilioRestClient.cs b/src/Twilio/Clients/TwilioRestClient.cs
index 410d2e565..6f4d4d62e 100644
--- a/src/Twilio/Clients/TwilioRestClient.cs
+++ b/src/Twilio/Clients/TwilioRestClient.cs
@@ -125,7 +125,7 @@ public Response Request(Request request)
catch (Exception clientException)
{
throw new ApiConnectionException(
- "Connection Error1: " + request.Method + request.ConstructUrl(),
+ "Connection Error: " + request.Method + request.ConstructUrl(),
clientException
);
}