אובייקט: AuthenticationAuthorizationResponse
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
גוף התשובה
אובייקט שנשלח בתגובה לאימות-הרשאה.
דוגמה לתשובת JSON בטקסט ללא הצפנה:
{
"requestId": "375dhjf9-Uydd="
"authorizations": ["LIST_ACCOUNTS", "ASSOCIATE_ACCOUNT"]
}
המסמך של AuthenticationAuthorizationResponse
מוצפן ונחתם באמצעות PGP או JWS+JWE.
בנוסף, הערך הזה מקודד ב-base64 בטוח לשימוש באינטרנט. הקידוד הזה נקרא
Base64UrlEncode
במילים אחרות, צריך להעביר את גרסת ה-JSON של AuthenticationAuthorizationRequest
בטקסט ללא הצפנה דרך הפונקציות הבאות:
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
חובה: להוסיף החזר ל-Google על ידי הכלי לשילוב תשלומים. כך Google יכולה למנוע התקפות שליחה מחדש.
|
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 `AuthenticationAuthorizationResponse` contains a `requestId` (string) and `authorizations` (repeated string). The `requestId` is used to prevent replay attacks, and `authorizations` are checked against the initial request. This JSON data is encrypted and signed using PGP or JWS+JWE, then encoded using `Base64UrlEncode`. The example shows how clear text JSON, including request ID and authorization types like \"LIST_ACCOUNTS\" and \"ASSOCIATE_ACCOUNT,\" is processed.\n"]]