def METHOD_NAME(self):
    from flask import current_app  # Note: isolated_app not available in setup().
    # Pick the token from local inspirehep.cfg first.
    return current_app.config.get('ORCID_APP_LOCAL_TOKENS', {}).get(self.orcid, 'mytoken')