オブジェクト: 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これにより、返された authorizations が渡された authorizations と同じであることを Google が確認できます。
|
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。"],[],["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"]]