对象:AuthenticationAuthorizationResponse
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
响应正文
在身份验证-授权响应期间发送的对象。
以下是一个纯文本 JSON 响应示例:
{
"requestId": "375dhjf9-Uydd="
"authorizations": ["LIST_ACCOUNTS", "ASSOCIATE_ACCOUNT"]
}
AuthenticationAuthorizationResponse
使用 PGP 或 JWS+JWE 进行加密和签名。此外,此值采用可在 web 环境中安全使用的 base64 编码。下文将此编码称为 Base64UrlEncode
。换言之,
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 和/或其关联公司的注册商标。
最后更新时间 (UTC):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"]],["最后更新时间 (UTC):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"]]