SaveRestrictions
Określa ograniczenia obiektu, które zostaną zweryfikowane podczas zapisywania. Uwaga: to jest funkcja zaawansowana. Aby uzyskać pomoc w implementacji, skontaktuj się z Google.
Zapis JSON |
{
"restrictToEmailSha256": string
} |
Pola |
restrictToEmailSha256 |
string
Ogranicz zapisywanie obiektu odwołującego się tylko do danego adresu e-mail. Jest to kod szesnastkowy sumy SHA256 adresu e-mail w wersji małej bez znaków takich jak „.” czy „+”, z wyjątkiem znaku „@”. Na przykład w przypadku adresu example@example.com ta wartość będzie wyglądać tak: 31c5543c1734d25c7206f5fd591525d0295bec6fe84ff82f946a34fe970a1e66, a w przypadku adresu Example@example.com – bc34fad26e7ce7ce725d6206f5fd591525d0295bec6fe84ff82f946a34fe970a1e66, a w przypadku adresu Example@example.com – bc34fad16 Jeśli adres e-mail zalogowanego użytkownika, który próbuje zapisać ten dokument, nie pasuje do zdefiniowanej tutaj wartości, użytkownicy nie będą mogli zapisać tego dokumentu. Zamiast tego pojawi się komunikat o błędzie z prośbą o skontaktowanie się z wystawcą. Informacje te powinny być zbierane od użytkowników, którzy wyrazili na to wyraźną zgodę. W tym celu skorzystaj z integracji funkcji Zaloguj się przez Google (https://developers.google.com/identity/authentication). Zanim użyjesz funkcji Zapisz ograniczenia, skontaktuj się z zespołem pomocy.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-13 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]