Google Data Studio-何时调用resetAuth()? [英] Google Data Studio - When is resetAuth() being called?
问题描述
我在使用resetAuth()
函数时遇到麻烦.我大致像此示例那样实现,但是我不知道什么时候是被呼叫.添加控制台输出并观察Stackdriver Log告诉我,在我称之为正常工作流程的过程中,从未调用过此函数.
I am having troubles with the resetAuth()
function. I implemented it roughly like this example, but I have no idea when it is being called. Adding a console output and observing the Stackdriver Log tells me that this function is never being called during what I would call a normal workflow.
文档很简短,并且缺少关于我为什么的这一部分需要实现它以及何时调用它.我是否需要在某个时候手动调用resetAuth()?某处有一个调用此功能的按钮吗?
The documentation is weirdly brief and is missing this part about why I need to implement it and when it is being called. Do I need to call resetAuth() manually on some point? Is there a button somewhere that calls this function?
我正在使用 AuthType USER_PASS
经过调查和调试,其他一切似乎都可以正常工作.
I'm using the AuthType USER_PASS
by the way and everything else seems to work just fine after some investigation and debugging.
我发现此文档名为社区连接器开发人员启动,其中其他内容,并列出了以下内容(截至2018年7月30日):
I found this document called Community Connectors Developer Launch where, among other things, the following it listed (as of 2018-07-30):
下一步:即将进行的更改和改进
我们将在 未来几个月包括:
Some of the features and improvements we'll be working on in the coming months include:
配置和身份验证
- 能够从Data Studio中执行社区连接器的
resetAuth
功能.
- Capability to execute the
resetAuth
function of community connectors from within Data Studio.
这是否意味着调用resetAuth()
当前尚未实现?
Does this mean that calling resetAuth()
is currently not yet implemented?
推荐答案
resetAuth
"rel =" nofollow noreferrer> https://datastudio.google.com/datasources/create 端点.
resetAuth
is called when the user revokes access to the connector via the https://datastudio.google.com/datasources/create endpoint.
存在一个错误,导致某些身份验证类型未调用此函数,但已解决.
There was a bug that caused this function to not be called for certain auth types, but it has been resolved.
这篇关于Google Data Studio-何时调用resetAuth()?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!