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