ऑब्जेक्ट: AuthenticationRequest
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
अनुरोध का मुख्य भाग
पुष्टि करने के अनुरोध के दौरान ऑब्जेक्ट भेजा गया.
यहां साफ़ तौर पर ज़ाहिर किए जाने वाले टेक्स्ट JSON अनुरोध का उदाहरण दिया गया है:
{
"requestId": "375dhjf9-Uydd="
}
AuthenticationRequest
को PGP या JWE+JWS का इस्तेमाल करके एन्क्रिप्ट (सुरक्षित) करके साइन किया जाता है.
साथ ही, यह वैल्यू वेब-सेफ़ base64 कोड में बदली गई है. इस एन्कोडिंग को यहां Base64UrlEncode
कहा गया है. दूसरे शब्दों में, JSON का साफ़ टेक्स्ट वाला JSON वर्शन
AuthenticationRequest
को इन फ़ंक्शन से पास किया जाना चाहिए:
Base64UrlEncode(
PGPSignAndEncrypt(
'{"requestId": "375dhjf9-Uydd="}'
)
)
या
Base64UrlEncode(
JWSignAndEncrypt(
'{"requestId": "375dhjf9-Uydd="}'
)
)
JSON के काेड में दिखाना |
{
"requestId": string,
"associationId": string,
}
|
फ़ील्ड |
requestId |
string
ज़रूरी है: इस अनुरोध के लिए आइडेंटिफ़ायर.
|
associationId |
string
ज़रूरी नहीं: यह आईडी, ग्राहक के Google खाते और वेंडर के साथ ग्राहक के खाते के बीच के असोसिएशन को दिखाता है. अगर पुष्टि करने के इस फ़्लो का इस्तेमाल, ऐसे उपयोगकर्ता की फिर से पुष्टि करने के लिए किया जा रहा है जिसने पहले ही असोसिएशन फ़्लो को पूरा कर लिया है, तो यह फ़ील्ड वेंडर के साथ उस खास खाते की पहचान करता है जिसे उपयोगकर्ता को प्रमाणित करना होगा. इससे यह पक्का किया जा सकता है कि उपयोगकर्ता किसी दूसरे खाते का इस्तेमाल करके, गलती से पुष्टि न कर दे. अगर यह फ़ील्ड दिया गया है, तो पेमेंट इंटिग्रेटर को यह पक्का करना होगा कि जिस खाते की पुष्टि की जा रही है वह इस associationId से जुड़ा हो. ऐसा न होने पर, उसे गड़बड़ी का मैसेज दिखाना होगा.
|
सभी अधिकार सुरक्षित. Java, 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"]]