summaryrefslogtreecommitdiff
path: root/oauthlib/oauth1/rfc5849/endpoints/authorization.py
diff options
context:
space:
mode:
authorKyle <kyle@gumstix.com>2013-07-23 09:28:34 -0700
committerKyle <kyle@gumstix.com>2013-07-23 09:28:34 -0700
commit29406ee09b7d1f9d4c4967492dbce9cb22bcc1cf (patch)
treee51fbbbff59c90e5b8dbc8c48478290cbcc41bbb /oauthlib/oauth1/rfc5849/endpoints/authorization.py
parenta5799fd8671e5a1c2922dcc434c886fc370b46c1 (diff)
downloadoauthlib-29406ee09b7d1f9d4c4967492dbce9cb22bcc1cf.tar.gz
Changed exception message in authorization.py; changed a validation parameter in resource.py from request_token to access_token; updated authors
Diffstat (limited to 'oauthlib/oauth1/rfc5849/endpoints/authorization.py')
-rw-r--r--oauthlib/oauth1/rfc5849/endpoints/authorization.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/oauthlib/oauth1/rfc5849/endpoints/authorization.py b/oauthlib/oauth1/rfc5849/endpoints/authorization.py
index 5aa4388..7fe39c4 100644
--- a/oauthlib/oauth1/rfc5849/endpoints/authorization.py
+++ b/oauthlib/oauth1/rfc5849/endpoints/authorization.py
@@ -91,8 +91,8 @@ class AuthorizationEndpoint(BaseEndpoint):
headers=headers)
if not request.resource_owner_key:
- raise errors.InvalidRequestError('request.resource_owner_key must be set after '
- 'request token verification.')
+ raise errors.InvalidRequestError(
+ 'Missing mandatory parameter oauth_token.')
if not self.request_validator.verify_request_token(
request.resource_owner_key, request):
raise errors.InvalidClientError()