객체: 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에 반영합니다. 이를 통해 Google은 전달된 authorizations: 동일한 authorizations가 전달되었습니다.