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 odsyłającego tylko do podanego adresu e-mail. Jest to wynik szesnastkowy adresu e-mail, zapisany w postaci szesnastkowej, algorytm SHA256 (pisany małymi literami) bez żadnych zapisów, takich jak „.”. lub „+”, z wyjątkiem „@”. 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ć tę kartę, nie pasuje do zdefiniowanej tutaj wartości, użytkownicy nie będą mogli zapisać tej karty. Zamiast tego pojawi się prośba o skontaktowanie się z wydawcą. 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). Przed użyciem 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: 2025-03-13 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]