شیء: AuthenticationRequest
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
درخواست بدن
شیء در طول درخواست احراز هویت ارسال شد.
در اینجا نمونه ای از یک درخواست JSON با متن واضح است:
{
"requestId": "375dhjf9-Uydd="
}
AuthenticationRequest
با استفاده از PGP یا JWE+JWS رمزگذاری و امضا می شود. علاوه بر این، این مقدار به صورت web-safe base64 کدگذاری شده است. این رمزگذاری در زیر به عنوان Base64UrlEncode
نامیده می شود. به عبارت دیگر، نسخه JSON متن شفاف AuthenticationRequest
باید از طریق توابع زیر ارسال شود:
Base64UrlEncode(
PGPSignAndEncrypt(
'{"requestId": "375dhjf9-Uydd="}'
)
)
یا
Base64UrlEncode(
JWSignAndEncrypt(
'{"requestId": "375dhjf9-Uydd="}'
)
)
نمایندگی JSON |
---|
{
"requestId": string,
"associationId": string,
} |
فیلدها |
---|
requestId | string مورد نیاز : شناسه برای این درخواست. |
associationId | string اختیاری : شناسه ای که نشان دهنده ارتباط بین حساب Google مشتری و حساب مشتری با فروشنده است. اگر از این جریان احراز هویت برای احراز هویت مجدد کاربری استفاده شود که قبلاً یک جریان انجمن را گذرانده است، این قسمت حساب خاصی را با فروشنده ای که کاربر باید احراز هویت کند، مشخص می کند. این اجازه می دهد تا اطمینان حاصل شود که کاربر (به عنوان مثال) به طور تصادفی با استفاده از حساب دیگری احراز هویت نمی کند. اگر این فیلد ارائه شده باشد، Payment Integrator باید اطمینان حاصل کند که حساب در حال احراز هویت به این AssociationId مرتبط است و در غیر این صورت باید یک شکست را برگرداند. |
کلیه حقوق محفوظ است. Java علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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 بهوقت ساعت هماهنگ جهانی."],[[["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"]]