物件:AuthenticationAuthorizationRequest
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
要求主體
驗證授權要求期間傳送的物件。
明文 JSON 要求示例如下:
{
"requestId": "375dhjf9-Uydd="
"authorizations": ["LIST_ACCOUNTS", "ASSOCIATE_ACCOUNT"]
}
AuthenticationAuthorizationRequest
使用 PGP 或 JWS+JWE 進行加密及簽署。此外,這個值採用網路安全 Base64 編碼。這種編碼在下方稱為
Base64UrlEncode
。也就是說,AuthenticationRequest
的明文 JSON 版本必須透過下列函式傳遞:
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
必要項目:這項要求的 ID。
|
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 `AuthenticationAuthorizationRequest` is a JSON object containing a `requestId` (a unique string identifier) and an `authorizations` array (strings indicating requested permissions). This object, in clear text, is signed and encrypted using either PGP or JWS+JWE. The result is then encoded using Base64UrlEncode. This process is detailed with an example and the required JSON field structure is defined, ensuring that the received authorizations match the ones requested.\n"]]