projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
529d793
)
Rename OAuth2Bearer to OAuth2BearerHandler
author
Harmon
<Harmon758@gmail.com>
Fri, 7 Jan 2022 11:08:52 +0000
(
05:08
-0600)
committer
Harmon
<Harmon758@gmail.com>
Sat, 8 Jan 2022 00:19:27 +0000
(18:19 -0600)
tweepy/auth.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/auth.py
b/tweepy/auth.py
index d8b30ac48f9f6f374fbdae1519f61559926a761e..7ac26ac78109b7d3a1ea93d643a80dc400e5253c 100644
(file)
--- a/
tweepy/auth.py
+++ b/
tweepy/auth.py
@@
-163,7
+163,7
@@
class OAuth2Handler(OAuth2Session):
)
-class OAuth2Bearer(AuthBase):
+class OAuth2Bearer
Handler
(AuthBase):
def __init__(self, bearer_token):
self.bearer_token = bearer_token
@@
-199,6
+199,6
@@
class OAuth2AppHandler(AuthHandler):
return 'https://' + self.OAUTH_HOST + self.OAUTH_ROOT + endpoint
def apply_auth(self):
- return OAuth2Bearer(self._bearer_token)
+ return OAuth2Bearer
Handler
(self._bearer_token)
AppAuthHandler = OAuth2AppHandler