对象:AuthenticationAuthorizationRequest

请求正文

身份验证授权请求期间发送的对象。

下面是一个明文 JSON 请求示例:

  {
    "requestId": "375dhjf9-Uydd="
    "authorizations": ["LIST_ACCOUNTS", "ASSOCIATE_ACCOUNT"]
  }

AuthenticationAuthorizationRequest 使用 PGP 或 JWS+JWE 进行加密和签名。此外,此值采用可在网络上安全使用的 base64 编码。下文将此编码称为 Base64UrlEncode。换言之, 必须通过以下函数传递 AuthenticationRequest

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

REQUIRED:此请求的标识符。

authorizations

repeated string

必需:由付款集成商反映的 Google。这样,Google 就可以检查传回的 authorizations 是否与传入的 authorizations 相同。