projects
/
twitter-api-cdsw
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added updated version of oauthlib
[twitter-api-cdsw]
/
oauthlib
/
oauth2
/
rfc6749
/
clients
/
base.py
diff --git
a/oauthlib/oauth2/rfc6749/clients/base.py
b/oauthlib/oauth2/rfc6749/clients/base.py
index e53ccc1d11ff45739c57b4fb77f99b33fb8213cd..4af9e767654c7a078bf7e3e2d25df0217128e78c 100644
(file)
--- a/
oauthlib/oauth2/rfc6749/clients/base.py
+++ b/
oauthlib/oauth2/rfc6749/clients/base.py
@@
-229,7
+229,7
@@
class Client(object):
self.redirect_url = redirect_url or self.redirect_url
self.scope = scope or self.scope
auth_url = self.prepare_request_uri(
self.redirect_url = redirect_url or self.redirect_url
self.scope = scope or self.scope
auth_url = self.prepare_request_uri(
- authorization_url, redirect_uri=self.redirect_ur
i
,
+ authorization_url, redirect_uri=self.redirect_ur
l
,
scope=self.scope, state=self.state, **kwargs)
return auth_url, FORM_ENC_HEADERS, ''
scope=self.scope, state=self.state, **kwargs)
return auth_url, FORM_ENC_HEADERS, ''
@@
-297,7
+297,7
@@
class Client(object):
raise InsecureTransportError()
self.scope = scope or self.scope
raise InsecureTransportError()
self.scope = scope or self.scope
- body = self.
_client.
prepare_refresh_body(body=body,
+ body = self.prepare_refresh_body(body=body,
refresh_token=refresh_token, scope=self.scope, **kwargs)
return token_url, FORM_ENC_HEADERS, body
refresh_token=refresh_token, scope=self.scope, **kwargs)
return token_url, FORM_ENC_HEADERS, body
Benjamin Mako Hill
||
Want to submit a patch?