import requests
import tweepy


class Auth(requests.auth.AuthBase):

    def __init__(self, bearer):
        self._bearer = bearer

    def __call__(self, r: requests.Request):
        r.headers['Authorization'] = "Bearer {}".format(self._bearer)

    def apply_auth(self):
        return tweepy.auth.OAuth2Bearer(self._bearer)


91ffd4bfdc54ad0364c06780c7d29cc050e7e3c2
<mask token>


class Auth(requests.auth.AuthBase):

    def __init__(self, bearer):
        self._bearer = bearer
    <mask token>
    <mask token>

<mask token>


class Auth(requests.auth.AuthBase):

    def __init__(self, bearer):
        self._bearer = bearer

    def __call__(self, r: requests.Request):
        r.headers['Authorization'] = 'Bearer {}'.format(self._bearer)
    <mask token>

<mask token>


class Auth(requests.auth.AuthBase):

    def __init__(self, bearer):
        self._bearer = bearer

    def __call__(self, r: requests.Request):
        r.headers['Authorization'] = 'Bearer {}'.format(self._bearer)

    def apply_auth(self):
        return tweepy.auth.OAuth2Bearer(self._bearer)

import requests
import tweepy


class Auth(requests.auth.AuthBase):

    def __init__(self, bearer):
        self._bearer = bearer

    def __call__(self, r: requests.Request):
        r.headers['Authorization'] = 'Bearer {}'.format(self._bearer)

    def apply_auth(self):
        return tweepy.auth.OAuth2Bearer(self._bearer)

import requests
import tweepy


class Auth(requests.auth.AuthBase):

    def __init__(self, bearer):
        self._bearer = bearer

    def __call__(self, r: requests.Request):
        r.headers['Authorization'] = "Bearer {}".format(self._bearer)

    def apply_auth(self):
        return tweepy.auth.OAuth2Bearer(self._bearer)

