summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-08-23 10:06:53 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-08-23 10:06:53 -0700
commit8c4b9e212fb967f8cbb83cc8e6fe1960b8663bb5 (patch)
tree422766622c99729fd2978718a5d376c197302cbf
parente89844c7d47538fc3c30deb73931df852dfae213 (diff)
downloadDotNetOpenAuth-8c4b9e212fb967f8cbb83cc8e6fe1960b8663bb5.zip
DotNetOpenAuth-8c4b9e212fb967f8cbb83cc8e6fe1960b8663bb5.tar.gz
DotNetOpenAuth-8c4b9e212fb967f8cbb83cc8e6fe1960b8663bb5.tar.bz2
Fix error message.
-rw-r--r--src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements/MessageValidationBindingElement.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements/MessageValidationBindingElement.cs b/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements/MessageValidationBindingElement.cs
index 80b843a..27b71db 100644
--- a/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements/MessageValidationBindingElement.cs
+++ b/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements/MessageValidationBindingElement.cs
@@ -122,7 +122,7 @@ namespace DotNetOpenAuth.OAuth2.ChannelElements {
try {
string canonicalUserName;
if (this.AuthorizationServer.TryAuthorizeResourceOwnerCredentialGrant(resourceOwnerPasswordCarrier.UserName, resourceOwnerPasswordCarrier.Password, resourceOwnerPasswordCarrier, out canonicalUserName)) {
- ErrorUtilities.VerifyHost(!string.IsNullOrEmpty(canonicalUserName), "IsResourceOwnerCredentialValid did not initialize out parameter.");
+ ErrorUtilities.VerifyHost(!string.IsNullOrEmpty(canonicalUserName), "TryAuthorizeResourceOwnerCredentialGrant did not initialize out parameter.");
resourceOwnerPasswordCarrier.CredentialsValidated = true;
resourceOwnerPasswordCarrier.UserName = canonicalUserName;
} else {