אובייקט: AuthenticationAuthorizationRequest
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
גוף הבקשה
האובייקט נשלח במהלך הבקשה להרשאת אימות.
הנה דוגמה לבקשת 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 (שעון 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)."],[],["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"]]