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