SaveRestrictions
저장 중에 확인할 객체에 대한 제한을 정의합니다. 참고: 이는 고급 기능이므로 구현 지원이 필요한 경우 Google에 문의하세요.
JSON 표현 |
{
"restrictToEmailSha256": string
} |
필드 |
restrictToEmailSha256 |
string
참조 객체의 저장을 지정된 이메일 주소로만 제한합니다. 이메일 주소의 SHA256 합계의 16진수 출력으로, '@'를 제외하고 모두 소문자이며 '.' 또는 '+'와 같은 표기법은 없습니다. 예를 들어 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 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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"]]