SaveRestrictions
กำหนดข้อจำกัดของออบเจ็กต์ที่จะได้รับการยืนยันระหว่างการบันทึก หมายเหตุ: ฟีเจอร์นี้เป็นฟีเจอร์ขั้นสูง โปรดติดต่อ Google เพื่อขอรับการสนับสนุนในการติดตั้งใช้งาน
การแสดง JSON |
{
"restrictToEmailSha256": string
} |
ช่อง |
restrictToEmailSha256 |
string
จำกัดการบันทึกออบเจ็กต์อ้างอิงสำหรับอีเมลที่ระบุเท่านั้น นี่คือเอาต์พุตฐานสิบหกของ SHA256 ผลรวมของที่อยู่อีเมลเป็นตัวพิมพ์เล็กทั้งหมดและไม่มีสัญลักษณ์ เช่น "." หรือ "+" ยกเว้น "@" เช่น สำหรับ example@example.com ค่านี้จะเป็น 31c5543c1734d25c7206f5fd591525d0295bec6fe84ff82f946a34fe970a1e66 และสำหรับ Example@example.com ค่านี้จะเป็น 2c7ce3af28282243615183143131731731731731718360718 หากอีเมลของผู้ใช้ที่เข้าสู่ระบบซึ่งพยายามบันทึกบัตรนี้ไม่ตรงกับค่าที่กำหนดไว้ที่นี่ ผู้ใช้จะไม่ได้รับอนุญาตให้บันทึกบัตรนี้ แต่จะได้รับข้อความแจ้งที่แสดงข้อผิดพลาดให้ติดต่อผู้ออกบัตรแทน ข้อมูลนี้ควรรวบรวมจากผู้ใช้เมื่อได้รับความยินยอมอย่างชัดแจ้งผ่านการผสานรวมฟีเจอร์ลงชื่อเข้าใช้ด้วย Google https://developers.google.com/identity/authentication โปรดติดต่อทีมสนับสนุนก่อนใช้ "ข้อจำกัดการบันทึก"
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-03-13 UTC
[null,null,["อัปเดตล่าสุด 2025-03-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"]]