File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed
Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ Fastapi Captcha
3131This module provides a simple way to protect several fastapi endpoints
3232routes with a captcha.
3333
34- It curreently supports the following captcha providers:
34+ It currently supports the following captcha providers:
3535
3636- `Google reCAPTCHA <https://www.google.com/recaptcha >`__
3737- `hCaptcha <https://www.hcaptcha.com/ >`__
@@ -49,6 +49,9 @@ Check the ``Use Captcha`` checkbox in your FastAPI endpoint to enable
4949captcha validation, then enter your captcha provider, secret key and an
5050array of route url regex.
5151
52+ Every matching route will now require a valid captcha token in the
53+ X-Captcha-Token header.
54+
5255Bug Tracker
5356===========
5457
Original file line number Diff line number Diff line change 11This module provides a simple way to protect several fastapi endpoints routes with a
22captcha.
33
4- It curreently supports the following captcha providers:
4+ It currently supports the following captcha providers:
55
66- [ Google reCAPTCHA] ( https://www.google.com/recaptcha )
77- [ hCaptcha] ( https://www.hcaptcha.com/ )
Original file line number Diff line number Diff line change 11Check the ` Use Captcha ` checkbox in your FastAPI endpoint to enable captcha validation,
22then enter your captcha provider, secret key and an array of route url regex.
3+
4+ Every matching route will now require a valid captcha token in the X-Captcha-Token
5+ header.
Original file line number Diff line number Diff line change @@ -372,7 +372,7 @@ <h1 class="title">Fastapi Captcha</h1>
372372< p > < a class ="reference external image-reference " href ="https://odoo-community.org/page/development-status "> < img alt ="Beta " src ="https://img.shields.io/badge/maturity-Beta-yellow.png " /> </ a > < a class ="reference external image-reference " href ="http://www.gnu.org/licenses/agpl-3.0-standalone.html "> < img alt ="License: AGPL-3 " src ="https://img.shields.io/badge/licence-AGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/rest-framework/tree/16.0/fastapi_captcha "> < img alt ="OCA/rest-framework " src ="https://img.shields.io/badge/github-OCA%2Frest--framework-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/rest-framework-16-0/rest-framework-16-0-fastapi_captcha "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/rest-framework&target_branch=16.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
373373< p > This module provides a simple way to protect several fastapi endpoints
374374routes with a captcha.</ p >
375- < p > It curreently supports the following captcha providers:</ p >
375+ < p > It currently supports the following captcha providers:</ p >
376376< ul class ="simple ">
377377< li > < a class ="reference external " href ="https://www.google.com/recaptcha "> Google reCAPTCHA</ a > </ li >
378378< li > < a class ="reference external " href ="https://www.hcaptcha.com/ "> hCaptcha</ a > </ li >
@@ -396,6 +396,8 @@ <h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
396396< p > Check the < tt class ="docutils literal "> Use Captcha</ tt > checkbox in your FastAPI endpoint to enable
397397captcha validation, then enter your captcha provider, secret key and an
398398array of route url regex.</ p >
399+ < p > Every matching route will now require a valid captcha token in the
400+ X-Captcha-Token header.</ p >
399401</ div >
400402< div class ="section " id ="bug-tracker ">
401403< h1 > < a class ="toc-backref " href ="#toc-entry-2 "> Bug Tracker</ a > </ h1 >
You can’t perform that action at this time.
0 commit comments