WidgetService.WidgetAcquireAndStoreRefreshToken
方法的要求訊息。
JSON 表示法 |
---|
{ "location": string, "configId": string, "acquireAndStoreRefreshTokenRequest": { object ( |
欄位 | |
---|---|
location |
這是必要旗標,要執行小工具首頁 FetchDocuments 的位置資源。格式: |
configId |
這是必要旗標,WidgetConfig 的 UUID。這個欄位用於識別小工具設定。 |
acquireAndStoreRefreshTokenRequest |
這是必要旗標,代理要求 DataConnectorService.AcquireAndStoreRefreshToken。 |
additionalParams |
這是必要旗標,可提升安全性和隱私權的其他參數。 |
AcquireAndStoreRefreshTokenRequest
JSON 表示法 |
---|
{ "name": string, "scopes": [ string ], "fullRedirectUri": string } |
欄位 | |
---|---|
name |
這是必要旗標,連接器資源。 連接器名稱會識別用於授權的第三方系統。這項值也會用來儲存更新權杖。 |
scopes[] |
授權碼和更新權杖的範圍。 |
fullRedirectUri |
這是必要旗標,授權後使用者重新導向的 URI,包括所有參數。例如: |