summaryrefslogtreecommitdiff
path: root/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py
diff options
context:
space:
mode:
authorMassimiliano Pippi <masci@evonove.it>2013-09-21 01:05:31 +0200
committerMassimiliano Pippi <masci@evonove.it>2013-09-21 01:05:31 +0200
commitc38dab51aec039ac3a89778233c190776b5d7e8c (patch)
tree03df382ec02f52264695ac66dd94bbb9cde03eef /oauthlib/oauth2/rfc6749/grant_types/authorization_code.py
parent1eca3219ccf292b695381f956642e0130882651f (diff)
downloadoauthlib-c38dab51aec039ac3a89778233c190776b5d7e8c.tar.gz
fixed call to client_authentication_required
Diffstat (limited to 'oauthlib/oauth2/rfc6749/grant_types/authorization_code.py')
-rw-r--r--oauthlib/oauth2/rfc6749/grant_types/authorization_code.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py b/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py
index d0b58f5..1adab52 100644
--- a/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py
+++ b/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py
@@ -343,7 +343,7 @@ class AuthorizationCodeGrant(GrantTypeBase):
description='Duplicate %s parameter.' % param,
request=request)
- if self.request_validator.client_authentication_required():
+ if self.request_validator.client_authentication_required(request):
# If the client type is confidential or the client was issued client
# credentials (or assigned other authentication requirements), the
# client MUST authenticate with the authorization server as described