flask_oauthlib/contrib/client/application.py
def make_client(self, token):
        """Creates a client with specific access token pair.

        :param token: a tuple of access token pair ``(token, token_secret)``
                      or a dictionary of access token response.
        :returns: a :class:`requests_oauthlib.oauth1_session.OAuth1Session`
                  object.
        """
        if isinstance(token, dict):
            access_token = token['oauth_token']
            access_token_secret = token['oauth_token_secret']
        else:
            access_token, access_token_secret = token
        return self.make_oauth_session(
            resource_owner_key=access_token,
            resource_owner_secret=access_token_secret)
def make_client(self, token):
        if isinstance(token, dict):
            access_token = token['oauth_token']
            access_token_secret = token['oauth_token_secret']
        else:
            access_token, access_token_secret = token
        return self.make_oauth_session(
            resource_owner_key=access_token,
            resource_owner_secret=access_token_secret)
def make_client ( self , token ) : if isinstance ( token , dict ) : access_token = token [ 'oauth_token' ] access_token_secret = token [ 'oauth_token_secret' ] else : access_token , access_token_secret = token return self . make_oauth_session ( resource_owner_key = access_token , resource_owner_secret = access_token_secret )
Creates a client with specific access token pair.

        :param token: a tuple of access token pair ``(token, token_secret)``
                      or a dictionary of access token response.
        :returns: a :class:`requests_oauthlib.oauth1_session.OAuth1Session`
                  object.
Creates a client with specific access token pair .