diff --git a/Creating-your-own-CAPTCHA-provider.md b/Creating-your-own-CAPTCHA-provider.md new file mode 100644 index 0000000..1eda011 --- /dev/null +++ b/Creating-your-own-CAPTCHA-provider.md @@ -0,0 +1,9 @@ +* Implement the `ChallengeProvider` interface, which contains these methods: + + * `getId()` - needs to return a string that will be used to identify the provider itself. + * `returnChallenge()` - needs to return a new CAPTCHA challenge, for the configured parameters + * `checkAnswer()` - check whether than answer is correct + * `configure()` - (optional) use the supplied configuration + * `supportedParameters` - (optional) a map of parameters and their accepted values + +* For inspiration, see the sample providers. `FilterChallenge` is simple and a good starting point. \ No newline at end of file