SaveRestrictions
تحدد القيود المفروضة على العنصر الذي سيتم التحقق منه أثناء الحفظ. ملاحظة: هذه ميزة متقدّمة. يُرجى التواصل مع فريق دعم Google للحصول على المساعدة في عملية التنفيذ.
تمثيل JSON |
{
"restrictToEmailSha256": string
} |
الحقول |
restrictToEmailSha256 |
string
يجب حصر حفظ العنصر المرجعي على عنوان البريد الإلكتروني المحدّد فقط. هذا هو الناتج السداسي العشري لمجموع SHA256 لعنوان البريد الإلكتروني، بأحرف صغيرة وبدون أي تدوينات مثل "." أو "+"، باستثناء "@". example@example.comExample@example.com في حال عدم تطابق عنوان البريد الإلكتروني للمستخدم الذي سجّل الدخول والذي يحاول حفظ هذه البطاقة مع القيمة المحدّدة هنا، لن يُسمح للمستخدمين بحفظ هذه البطاقة. وبدلاً من ذلك، ستظهر رسالة خطأ مفادها للتواصل مع جهة الإصدار. ويجب جمع هذه المعلومات من المستخدم بعد الحصول على موافقة صريحة من خلال الدمج مع ميزة "تسجيل الدخول باستخدام حساب Google" https://developers.google.com/identity/authentication. يُرجى التواصل مع فريق الدعم قبل استخدام "حفظ القيود".
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-03-13 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-03-13 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]