객체: AuthenticationAuthorizationRequest

요청 본문

인증 승인 요청 중에 전송된 객체입니다.

다음은 일반 텍스트 JSON 요청의 예입니다.

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

AuthenticationAuthorizationRequest는 PGP 또는 JWS+JWE를 사용하여 암호화되고 서명됩니다. 또한 이 값은 웹에 적합한 base64로 인코딩됩니다. 이 인코딩을 아래에서는 Base64UrlEncode라고 합니다. 즉, AuthenticationRequest의 일반 텍스트 JSON 버전을 다음 함수를 통해 전달해야 합니다.

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

필수: 이 요청의 식별자입니다.

authorizations

repeated string

필수: 결제 통합업체가 Google에 다시 반영합니다. 이렇게 하면 Google에서 전달된 authorizations가 전달된 것과 동일한 authorizations인지 확인할 수 있습니다.