物件:AuthenticationAuthorizationResponse
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
回應主體
驗證授權回應期間傳送的物件。
明文 JSON 回應範例如下:
{
"requestId": "375dhjf9-Uydd="
"authorizations": ["LIST_ACCOUNTS", "ASSOCIATE_ACCOUNT"]
}
AuthenticationAuthorizationResponse
使用 PGP 或 JWS+JWE 進行加密及簽署。此外,這個值也經過網路安全 Base64 編碼。這種編碼在下方稱為
Base64UrlEncode
。也就是應用程式的明文 JSON 版本
必須通過以下設定:AuthenticationAuthorizationRequest
函式:
Base64UrlEncode(
PGPSignAndEncrypt(
'{"requestId": "375dhjf9-Uydd=",
"authorizations": ["LIST_ACCOUNTS", "ASSOCIATE_ACCOUNT"]}'
)
)
或
Base64UrlEncode(
JWSignAndEncrypt(
'{"requestId": "375dhjf9-Uydd=",
"authorizations": ["LIST_ACCOUNTS", "ASSOCIATE_ACCOUNT"]}'
)
)
JSON 表示法 |
{
"requestId": string,
"authorizations": repeated string,
}
|
欄位 |
requestId |
string
必要欄位:由付款整合服務供應商回傳給 Google。這有助於 Google 防範重送攻擊。
|
authorizations |
repeated string
必要項目:由付款整合服務供應商回傳給 Google。這樣 Google 就能檢查
authorizations 已傳回
傳遞的相同 authorizations
|
保留所有權利。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-25 (世界標準時間)。"],[],["The `AuthenticationAuthorizationResponse` contains a `requestId` (string) and `authorizations` (repeated string). The `requestId` is used to prevent replay attacks, and `authorizations` are checked against the initial request. This JSON data is encrypted and signed using PGP or JWS+JWE, then encoded using `Base64UrlEncode`. The example shows how clear text JSON, including request ID and authorization types like \"LIST_ACCOUNTS\" and \"ASSOCIATE_ACCOUNT,\" is processed.\n"]]