API Reference wiztchta v#0.1.0

Copy Markdown View Source

Modules

Drop-in, pluggable CAPTCHA for Phoenix forms and LiveViews.

Behaviour for challenge types, and the struct handed to templates.

Simple arithmetic question ("What is 3 + 4?"). Works without JavaScript.

Invisible proof-of-work challenge (the default).

Function components for rendering challenges inside forms.

Verifies the submitted challenge and stores the result in conn.assigns.wiztchta as :ok or {:error, reason}.

Behaviour for replay protection: remembers which challenge tokens were already submitted until they expire.

Default in-memory Wiztchta.Store, local to each node.