객체: AuthenticationRequest
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
요청 본문
인증 요청 중에 전송된 객체입니다.
다음은 일반 텍스트 JSON 요청의 예입니다.
{
"requestId": "375dhjf9-Uydd="
}
AuthenticationRequest
는 PGP 또는 JWE+JWS를 사용하여 암호화되고 서명됩니다.
또한 이 값은 웹 보안 base64로 인코딩됩니다. 이러한 인코딩을 이하에서는
Base64UrlEncode
즉, 일반 텍스트 JSON 버전의
AuthenticationRequest
는 다음 함수를 통해 전달되어야 합니다.
Base64UrlEncode(
PGPSignAndEncrypt(
'{"requestId": "375dhjf9-Uydd="}'
)
)
또는
Base64UrlEncode(
JWSignAndEncrypt(
'{"requestId": "375dhjf9-Uydd="}'
)
)
JSON 표현 |
{
"requestId": string,
"associationId": string,
}
|
필드 |
requestId |
string
필수: 이 요청의 식별자입니다.
|
associationId |
string
선택사항: 고객의 Google 계정과 고객의 공급업체 계정 간의 연결을 나타내는 ID입니다. 이 인증 흐름이 이미 연결 흐름을 거친 사용자를 재인증하는 데 사용되는 경우 이 필드는 사용자가 인증해야 하는 공급업체의 특정 계정을 식별합니다. 이렇게 하면 사용자가 실수로 다른 계정을 사용하여 인증하는 것을 방지할 수 있습니다. 이 필드가 제공되면 결제 통합업체는 인증 중인 계정이 이 associationId에 연결되어 있는지 확인해야 하며, 그렇지 않은 경우 실패를 반환해야 합니다.
|
All rights reserved. 자바는 Oracle 및/또는 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)"],[[["Authentication requests contain a request ID and, optionally, an association ID, within a JSON object."],["The JSON request body is encrypted and signed using either PGP or JWE+JWS for security."],["This secured data is then encoded using web-safe base64 encoding before transmission."],["The `requestId` is a required field that uniquely identifies each authentication request."],["Including the `associationId` is optional but helps link the Google Account with the vendor's customer account for re-authentication purposes."]]],["The `AuthenticationRequest` is a JSON object containing a `requestId` (required string identifier) and an optional `associationId` (string linking Google and vendor accounts). This JSON is encrypted and signed using PGP or JWE+JWS, then encoded using Base64UrlEncode. The resulting string is sent during the authentication. The Payment Integrator, if provided with an `associationId`, is responsible for validating that the account the user authenticates, is the correct account tied to the `associationId`.\n"]]