def __init__(self, app):
        self.request_token = self.require_oauth(require_resource_owner=False)(self.request_token)
        self.access_token = self.require_oauth(require_verifier=True)(self.access_token)
        if app is not None:
            self.app = app
            self.init_app(app)
        else:
            self.app = None
Setup routes and OAuth token methods.
dataset/ETHPy150Open ib-lundgren/flask-oauthprovider/flask_oauthprovider.py/OAuthProvider.__init__