WidgetService.WidgetAcquireAndStoreRefreshToken
方法的请求消息。
JSON 表示法 |
---|
{ "location": string, "configId": string, "acquireAndStoreRefreshTokenRequest": { object ( |
字段 | |
---|---|
location |
必需。将执行 widget 首页 FetchDocuments 的位置资源。格式: |
configId |
必需。WidgetConfig 的 UUID。此字段用于标识 widget 配置。 |
acquireAndStoreRefreshTokenRequest |
必需。对 DataConnectorService.AcquireAndStoreRefreshToken 的代理请求。 |
additionalParams |
必需。用于增强安全性和隐私性的其他参数。 |
AcquireAndStoreRefreshTokenRequest
JSON 表示法 |
---|
{ "name": string, "scopes": [ string ], "fullRedirectUri": string } |
字段 | |
---|---|
name |
必需。连接器资源。 连接器名称用于标识要用于授权的第三方系统。它还用作存储刷新令牌的密钥。 |
scopes[] |
授权代码和刷新令牌的范围。 |
fullRedirectUri |
必需。用户在授权后重定向到的 URI,包括所有参数。例如, |