オブジェクト: AuthenticationRequest
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
リクエスト本文
認証リクエスト時に送信されるオブジェクト。
クリアテキストの JSON リクエストの例を次に示します。
{
"requestId": "375dhjf9-Uydd="
}
AuthenticationRequest
は、PGP または JWE+JWS を使用して暗号化され、署名されます。
また、この値はウェブセーフの Base64 でエンコードされています。以下では、このエンコードを「Base64UrlEncode
」と呼びます。つまり、クリアテキスト JSON バージョンの AuthenticationRequest
は、次の関数を介して渡す必要があります。
Base64UrlEncode(
PGPSignAndEncrypt(
'{"requestId": "375dhjf9-Uydd="}'
)
)
または
Base64UrlEncode(
JWSignAndEncrypt(
'{"requestId": "375dhjf9-Uydd="}'
)
)
JSON 表現 |
{
"requestId": string,
"associationId": string,
}
|
フィールド |
requestId |
string
必須: このリクエストの ID。
|
associationId |
string
OPTIONAL: お客様の Google アカウントと、お客様のアカウントとベンダーの関連付けを表す ID。関連付けフローを完了したユーザーの再認証にこの認証フローが使用されている場合、このフィールドは、ユーザーが認証する必要があるベンダーの特定のアカウントを示します。これにより、ユーザーが誤って他のアカウントを使用して認証する(例: ない)ことを防止できます。このフィールドが指定されている場合、支払いインテグレーターは、認証されるアカウントがこの associationId に関連付けられていることを確認する必要があります。そうでない場合は、失敗を返す必要があります。
|
All rights reserved. Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[[["わかりやすい","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 UTC。"],[[["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"]]