SaveRestrictions
הגדרת הגבלות על האובייקט שיאומת במהלך השמירה. הערה: זוהי תכונה מתקדמת. כדי לקבל תמיכה בהטמעה, יש לפנות אל Google.
ייצוג ב-JSON |
{
"restrictToEmailSha256": string
} |
שדות |
restrictToEmailSha256 |
string
להגביל את השמירה של האובייקט המפנה לכתובת האימייל שצוינה בלבד. זהו הפלט הקסדצימלי של הסכום של SHA256 של כתובת האימייל, כולו באותיות קטנות וללא סימנים כמו "." או "+", מלבד "@". לדוגמה, עבור example@example.com, הערך יהיה 31c5543c1734d25c7206f5fd591525d0295bec6fe84ff82f946a34fe970a1e66 ו-Example@example.com, הערך הזה יהיה bc3adce34f וכדי אם כתובת האימייל של המשתמש המחובר שמנסה לשמור את הכרטיס הזה לא תואמת לערך שמוגדר כאן, המשתמשים לא יורשו לשמור את הכרטיס הזה. במקום זאת, תופיע הודעת שגיאה עם בקשה לפנות למנפיק. צריך לאסוף את המידע הזה מהמשתמש עם הסכמה מפורשת באמצעות השילוב של 'כניסה באמצעות חשבון Google' https://developers.google.com/identity/authentication. לפני שמשתמשים בהגבלות שמירה, צריך לפנות לתמיכה.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-11-13 (שעון UTC).
[null,null,["עדכון אחרון: 2024-11-13 (שעון UTC)."],[[["JSON representation defines restrictions to ensure data integrity during the save process, primarily focusing on email verification."],["It uses `restrictToEmailSha256` field to limit saving privileges to a specific email address, enhancing security."],["The email address is SHA256 hashed and compared with the provided value to authorize save operations."],["Users with unmatched email addresses will be denied save permissions and advised to contact the issuer."],["This feature is advanced and requires contacting Google support for implementation and guidance on obtaining user consent via Sign in with Google."]]],["The core content describes a feature called \"Save Restrictions\" that limits object saving to a specific email address. The `restrictToEmailSha256` field, represented as a string, stores the SHA256 hash of the email. Only users whose email's SHA256 hash matches this value can save the object. Mismatched users are prompted to contact the issuer. The hash is lowercase, excluding \".\" or \"+\" but including \"@\". The information needs an explicit user consent. This feature requires contacting Google for support before implementation.\n"]]