TurnstileProvider class
Cloudflare Turnstile provider for web.
- Implemented types
- Implementers
Constructors
- TurnstileProvider(String siteKey, {String? action, String? cData})
- Creates a web provider backed by Cloudflare Turnstile.
Properties
- action → String?
-
Optional action value sent to Turnstile.
final
- cData → String?
-
Optional custom data sent to Turnstile.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- siteKey → String
-
The Turnstile site key.
final
Methods
-
getAttestationToken(
String action) → Future< String> -
Returns an attestation token for the given action.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited