الكائن: OAuthAuthRequest
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
نص الطلب
العنصر الذي تم إرساله أثناء طلب المصادقة-التفويض
في ما يلي مثال على طلب JSON يتضمّن نصًا واضحًا:
{
"requestId": "375dhjf9-Uydd="
"authorizations": ["LIST_ACCOUNTS", "ASSOCIATE_ACCOUNT"]
}
تم تشفير "AuthenticationAuthorizationRequest
" وتوقيعه باستخدام PGP أو JWS+JWE.
علاوة على ذلك، تكون هذه القيمة بترميز base64 آمن على الويب. ويُشار إلى هذا الترميز فيما يلي باسم
Base64UrlEncode
وبعبارة أخرى، فإن النسخة النصية JSON الواضحة
يجب تمرير AuthenticationRequest
من خلال الدوال التالية:
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 نفسه الذي تم تمريره.
|
جميع الحقوق محفوظة. إنّ 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 (حسب التوقيت العالمي المتفَّق عليه)"],[],["The `AuthenticationAuthorizationRequest` is a JSON object containing a `requestId` (a unique string identifier) and an `authorizations` array (strings indicating requested permissions). This object, in clear text, is signed and encrypted using either PGP or JWS+JWE. The result is then encoded using Base64UrlEncode. This process is detailed with an example and the required JSON field structure is defined, ensuring that the received authorizations match the ones requested.\n"]]