WidgetAcquireAndStoreRefreshTokenRequest

WidgetService.WidgetAcquireAndStoreRefreshToken 方法的要求訊息。

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

string

這是必要旗標,要執行小工具首頁 FetchDocuments 的位置資源。格式:locations/{location}

configId

string

這是必要旗標,WidgetConfig 的 UUID。這個欄位用於識別小工具設定。

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