WidgetAcquireAndStoreRefreshTokenRequest

WidgetService.WidgetAcquireAndStoreRefreshToken 方法的请求消息。

JSON 表示法
{
  "location": string,
  "configId": string,
  "acquireAndStoreRefreshTokenRequest": {
    object (AcquireAndStoreRefreshTokenRequest)
  },
  "additionalParams": {
    object (AdditionalParams)
  }
}
字段
location

string

必需。将执行 widget 首页 FetchDocuments 的位置资源。格式:locations/{location}

configId

string

必需。WidgetConfig 的 UUID。此字段用于标识 widget 配置。

acquireAndStoreRefreshTokenRequest

object (AcquireAndStoreRefreshTokenRequest)

必需。对 DataConnectorService.AcquireAndStoreRefreshToken 的代理请求。

additionalParams

object (AdditionalParams)

必需。用于增强安全性和隐私性的其他参数。

AcquireAndStoreRefreshTokenRequest

DataConnectorService.AcquireAndStoreRefreshToken 方法的请求消息。

JSON 表示法
{
  "name": string,
  "scopes": [
    string
  ],
  "fullRedirectUri": string
}
字段
name

string

必需。连接器资源。

连接器名称用于标识要用于授权的第三方系统。它还用作存储刷新令牌的密钥。

scopes[]

string

授权代码和刷新令牌的范围。

fullRedirectUri

string

必需。用户在授权后重定向到的 URI,包括所有参数。例如,https://example.com/redir?code=5