Skip to content
Code-Schnipsel Gruppen Projekte
Commit 684fddb1 erstellt von Patrick Müller's avatar Patrick Müller
Dateien durchsuchen

docs: README

Übergeordneter 794ece88
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
Keine zugehörigen Merge Requests gefunden
captcha
QUIQQER Captcha
========
QUIQQER Captcha controls
This plugin provides Captcha controls to implement CAPTCHAs for your website. It also provides an API
to develop your own CAPTCHA or implement third party CAPTCHAs.
Paketname:
Implementation of Google reCAPTCHA is included.
Package Name:
quiqqer/captcha
Features (Funktionen)
Features
--------
* Captcha Control that can be implemented anywhere
* API to implement own CAPTCHA solutions
* Google reCAPTCHA included
Installation
------------
The Package Name is: quiqqer/captcha
Der Paketname ist: quiqqer/captcha
Mitwirken
Usage
----------
- Issue Tracker:
- Source Code:
### Frontend
```js
require(['package/quiqqer/captcha/bin/controls/CaptchaDisplay'], function(CaptchaDisplay) {
var MyCaptchaDisplay = new CaptchaDisplay().inject(document.body);
MyCaptchaDisplay.getCaptchaControl().then(function (CaptchaControl) {
CaptchaControl.addEvents({
onSuccess: function (response) {
// CAPTCHA successfully solved -> response can be send to backend for validation
sendToBackendForValidation(response);
},
onExpired: function () {
// CAPTCHA is expired -> reload or show info message
}
});
}, function () {
// error
});
});
```
### Backend
```php
$isReponseValid = \QUI\Captcha\Handler::isResponseValid($response);
if ($isResponseValid) {
// success! user is human (probably)
} else {
// failure! user is a bot (probably)
}
```
Contribute
----------
- Project: https://dev.quiqqer.com/quiqqer/captcha
- Issue Tracker: https://dev.quiqqer.com/quiqqer/captcha/issues
- Source Code: https://dev.quiqqer.com/quiqqer/captcha/tree/master
Support
-------
If you found any errors or have wishes or suggestions for improvement,
please contact us by email at support@pcsg.de.
Falls Sie einen Fehler gefunden haben oder Verbesserungen wünschen,
senden Sie bitte eine E-Mail an support@pcsg.de.
We will transfer your message to the responsible developers.
Lizenz
License
-------
Entwickler
--------
PCSG QL-1.0, CC BY-NC-SA 4.0
\ No newline at end of file
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren