angular-captcha
Advanced tools
Comparing version 3.0.3 to 3.0.4
{ | ||
"name": "angular-captcha", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "BotDetect Captcha Angular Module (TypeScript / Angular 2/4/5+)", | ||
@@ -19,3 +19,3 @@ "scripts": { | ||
}, | ||
"homepage": "https://captcha.com/angular-captcha.html", | ||
"homepage": "https://captcha.com/angular-captcha.html#angular:2+", | ||
"keywords": [ | ||
@@ -22,0 +22,0 @@ "captcha", |
## BotDetect Captcha Angular Module (TypeScript / Angular 2/4/5+) | ||
### Requirements: | ||
Captcha Angular module requires Captcha library to generate image&sound Captcha challenges. Currently, it works with [BotDetect Java Captcha library](https://captcha.com/java-captcha.html) and [BotDetect PHP Captcha library](https://captcha.com/php-captcha.html), but ASP.NET library is coming soon. | ||
Captcha Angular module requires Captcha library to generate image&sound Captcha challenges. Currently, it works with [BotDetect Java Captcha library](https://captcha.com/java-captcha.html#simple-api) and [BotDetect PHP Captcha library](https://captcha.com/php-captcha.html#simple-api), but ASP.NET library is coming soon. | ||
@@ -76,5 +76,4 @@ ### Quickstart: | ||
- If you have [Java Captcha](https://captcha.com/java-captcha.html) library on a server side validation would look similar to this: | ||
- If you have [Java Captcha](https://captcha.com/java-captcha.html#simple-api) library on a server side validation would look similar to this: | ||
```java | ||
// validate captcha | ||
SimpleCaptcha captcha = SimpleCaptcha.load(request); | ||
@@ -84,3 +83,3 @@ boolean isHuman = captcha.validate(captchaCode, captchaId); | ||
- If you have [PHP Captcha](https://captcha.com/php-captcha.html) library on a server side validation would look similar to this: | ||
- If you have [PHP Captcha](https://captcha.com/php-captcha.html#simple-api) library on a server side validation would look similar to this: | ||
```php | ||
@@ -93,3 +92,3 @@ $captcha = new SimpleCaptcha(); | ||
[Angular CAPTCHA Integration Guide](https://captcha.com/angular-captcha.html) | ||
[Angular CAPTCHA Integration Guide](https://captcha.com/angular-captcha.html#angular:2+) | ||
@@ -96,0 +95,0 @@ ### Examples: |
45090
100