def access_token(self):
        access_token = generate_token(length=self.access_token_length[1])
        token_secret = generate_token(self.secret_length)
        client_key = request.oauth.client_key
        self.save_access_token(client_key, access_token,
            request.oauth.resource_owner_key, secret=token_secret)
        return urlencode([(u'oauth_token', access_token),
                          (u'oauth_token_secret', token_secret)])
Create an OAuth access token for an authorized client.
dataset/ETHPy150Open ib-lundgren/flask-oauthprovider/flask_oauthprovider.py/OAuthProvider.access_token