summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-04-15 20:32:01 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-04-15 20:32:01 -0700
commitd553771d2730774921c0f778e797f033bd84085d (patch)
tree6f9e366718ae0a98dcad96882501b80c393e8993 /src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements
parentfb94cd99957a0c3baaf9b42855b2e3d30caae3ff (diff)
downloadDotNetOpenAuth-d553771d2730774921c0f778e797f033bd84085d.zip
DotNetOpenAuth-d553771d2730774921c0f778e797f033bd84085d.tar.gz
DotNetOpenAuth-d553771d2730774921c0f778e797f033bd84085d.tar.bz2
Authorization servers now gain insight into the calling client when validating resource owner credential grant type requests.
Fixes #101
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements')
-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 efdbf4d..10d1463 100644
--- a/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements/MessageValidationBindingElement.cs
+++ b/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements/MessageValidationBindingElement.cs
@@ -95,7 +95,7 @@ namespace DotNetOpenAuth.OAuth2.ChannelElements {
var resourceOwnerPasswordCarrier = message as AccessTokenResourceOwnerPasswordCredentialsRequest;
if (resourceOwnerPasswordCarrier != null) {
try {
- if (this.AuthorizationServer.IsResourceOwnerCredentialValid(resourceOwnerPasswordCarrier.UserName, resourceOwnerPasswordCarrier.Password)) {
+ if (this.AuthorizationServer.IsResourceOwnerCredentialValid(resourceOwnerPasswordCarrier.UserName, resourceOwnerPasswordCarrier.Password, resourceOwnerPasswordCarrier)) {
resourceOwnerPasswordCarrier.CredentialsValidated = true;
} else {
Logger.OAuth.ErrorFormat(