mode property

TurnstileMode mode
final

The Turnstile widget mode.

The 3 models for turnstile are: TurnstileMode.managed - Cloudflare will use information from the visitor to decide if an interactive challange should be used. if we show an interaction, the user will be prmpted to check a box

TurnstileMode.nonInteractive - Users will see a widget with a loading bar while the browser challanges run. Users will never be required or prompted to interact with the widget

TurnstileMode.invisible - Users will not see a widget or any indication that an invisible browser challange is in progress. invisible challanges should take a few seconds to complete.

Implementation

final TurnstileMode mode;