def init_app(self, app):
        """Flask application initialization."""
        app.before_request(verify_token)
        self.init_config(app)
        state = _AppState(app=app)
        app.extensions['zenodo-accessrequests'] = state
Flask application initialization.