物件:AuthenticationRequest
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
要求主體
驗證要求期間傳送的物件。
以下是明文 JSON 要求的範例:
{
"requestId": "375dhjf9-Uydd="
}
AuthenticationRequest
使用 PGP 或 JWE+JWS 加密及簽署。
此外,這個值也經過網路安全 Base64 編碼。這種編碼在下方稱為
Base64UrlEncode
。也就是說,AuthenticationRequest
的明文 JSON 版本必須透過下列函式傳遞:
Base64UrlEncode(
PGPSignAndEncrypt(
'{"requestId": "375dhjf9-Uydd="}'
)
)
或
Base64UrlEncode(
JWSignAndEncrypt(
'{"requestId": "375dhjf9-Uydd="}'
)
)
JSON 表示法 |
{
"requestId": string,
"associationId": string,
}
|
欄位 |
requestId |
string
必要項目:這項要求的 ID。
|
associationId |
string
OPTIONAL:這個 ID 代表客戶的 Google 帳戶和相關供應商帳戶與供應商之間的關係。如果這個驗證流程用於重新驗證已完成關聯流程的使用者,則這個欄位會標示使用者必須驗證的供應商帳戶。這可確保使用者不會誤用其他帳戶進行驗證。如果提供這個欄位,付款整合商必須確保要驗證的帳戶與此連結編號相關聯,否則就必須傳回失敗。
|
保留所有權利。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 (世界標準時間)。"],[[["Authentication requests contain a request ID and, optionally, an association ID, within a JSON object."],["The JSON request body is encrypted and signed using either PGP or JWE+JWS for security."],["This secured data is then encoded using web-safe base64 encoding before transmission."],["The `requestId` is a required field that uniquely identifies each authentication request."],["Including the `associationId` is optional but helps link the Google Account with the vendor's customer account for re-authentication purposes."]]],["The `AuthenticationRequest` is a JSON object containing a `requestId` (required string identifier) and an optional `associationId` (string linking Google and vendor accounts). This JSON is encrypted and signed using PGP or JWE+JWS, then encoded using Base64UrlEncode. The resulting string is sent during the authentication. The Payment Integrator, if provided with an `associationId`, is responsible for validating that the account the user authenticates, is the correct account tied to the `associationId`.\n"]]