网站设置概览
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本文档简要介绍了在网站上设置 reCAPTCHA 的方法。
在网站上设置 reCAPTCHA 涉及以下步骤:
为您的网站创建一个 reCAPTCHA 密钥(也称为密钥)。
必须提供密钥才能收集有关用户操作的信息并将其发送到 reCAPTCHA。
- 选择最适合您的应用场景的密钥类型。
- 为您的网站创建密钥。
与您的网站集成。
使用 reCAPTCHA JavaScript API 安装您在网页上创建的密钥。
与后端集成:
- 如需验证 reCAPTCHA 发送的令牌并评估风险,请从后端服务器创建评估。
- 解读评估分数和相关风险,并指定如何处理用户,例如,仅在分数较高且风险较低时允许用户登录。
后续步骤
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-06-29。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]