diff options
author | Massimiliano Pippi <masci@evonove.it> | 2013-09-21 01:05:31 +0200 |
---|---|---|
committer | Massimiliano Pippi <masci@evonove.it> | 2013-09-21 01:05:31 +0200 |
commit | c38dab51aec039ac3a89778233c190776b5d7e8c (patch) | |
tree | 03df382ec02f52264695ac66dd94bbb9cde03eef /oauthlib/oauth2/rfc6749/grant_types/authorization_code.py | |
parent | 1eca3219ccf292b695381f956642e0130882651f (diff) | |
download | oauthlib-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.py | 2 |
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 |