def to_string(self):

        data = {
            'oauth_token': self.key,
            'oauth_token_secret': self.secret,
        }

        if self.callback_confirmed is not None:
            data['oauth_callback_confirmed'] = self.callback_confirmed
        return urllib.urlencode(data)
Authenticate to use this database.
dataset/ETHPy150Open mrgaaron/LinkedIn-Client-Library/liclient/oauth2/__init__.py/Token.to_string--crossover with--dataset/ETHPy150Open mongodb/mongo-python-driver/pymongo/database.py/Database.authenticate