

def authorized(self, request_token):
    'Create a verifier for an user authorized client'
    verifier = generate_token(length=self.verifier_length[1])
    self.save_verifier(request_token, verifier)
    response = [('oauth_token', request_token), ('oauth_verifier', verifier)]
    callback = self.get_callback(request_token)
    return redirect(add_params_to_uri(callback, response))

dataset/ETHPy150Open ib-lundgren/flask-oauthprovider/flask_oauthprovider.py OAuthProvider.authorized/original