alepha@docs:~/docs/reference/providers$
cat MemoryCaptchaProvider.md | pretty
1 min read
Last commit:

#MemoryCaptchaProvider

#Import

typescript
1import { MemoryCaptchaProvider } from "alepha/captcha";

#Overview

In-memory captcha provider for testing.

Accepts all tokens by default. Use reject() to make verification fail, and accept() to restore. All verification attempts are recorded for assertions.