ENGLISH·COURSE API
    Preparing search index...

    Props for TurnstileChallenge.

    type TurnstileChallengeProps = {
        onToken: (token: string | null) => void;
    }
    Index

    Properties

    Properties

    onToken: (token: string | null) => void

    Receives the challenge token once Cloudflare has passed the visitor, and null whenever that token stops being usable (expired or errored). The form sends the token as x-captcha-response.