Google Data Studio - 何时调用 resetAuth()?

Google Data Studio - When is resetAuth() being called?

我在使用 resetAuth() 功能时遇到问题。我大致像 this example 那样实现它,但我不知道它何时被调用。添加控制台输出并观察 Stackdriver 日志告诉我,在我称之为正常工作流的过程中从未调用过此函数。

documentation 非常简短,缺少关于我为什么需要实现它以及何时调用它的部分。我需要在某些时候手动调用 resetAuth() 吗?有没有调用这个函数的按钮?

顺便说一句,我正在使用 AuthType USER_PASS,经过一些调查和调试后,其他一切似乎都工作正常。

我找到了这份名为 Community Connectors Developer Launch 的文档,其中列出了以下内容(截至 2018-07-30):

What's next: Upcoming changes and improvements

Some of the features and improvements we'll be working on in the coming months include:

Configuration and Authentication

  • Capability to execute the resetAuth function of community connectors from within Data Studio.

这是否意味着调用resetAuth()目前尚未实现?

resetAuth 当用户通过 https://datastudio.google.com/datasources/create 端点撤销对连接器的访问时调用。

存在导致某些身份验证类型无法调用此函数的错误,但已解决。