GetTurnstileWidgetResult

data class GetTurnstileWidgetResult(val accountId: String, val botFightMode: Boolean, val clearanceLevel: String, val createdOn: String, val domains: List<String>, val ephemeralId: Boolean, val filter: GetTurnstileWidgetFilter? = null, val id: String, val mode: String, val modifiedOn: String, val name: String, val offlabel: Boolean, val region: String, val secret: String, val sitekey: String)

A collection of values returned by getTurnstileWidget.

Constructors

Link copied to clipboard
constructor(accountId: String, botFightMode: Boolean, clearanceLevel: String, createdOn: String, domains: List<String>, ephemeralId: Boolean, filter: GetTurnstileWidgetFilter? = null, id: String, mode: String, modifiedOn: String, name: String, offlabel: Boolean, region: String, secret: String, sitekey: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Identifier

Link copied to clipboard

If botfightmode is set to true, Cloudflare issues computationally expensive challenges in response to malicious bots (ENT only).

Link copied to clipboard

If Turnstile is embedded on a Cloudflare site and the widget should grant challenge clearance, this setting can determine the clearance level to be set Available values: "no_clearance", "jschallenge", "managed", "interactive".

Link copied to clipboard

When the widget was created.

Link copied to clipboard
Link copied to clipboard

Return the Ephemeral ID in /siteverify (ENT only).

Link copied to clipboard
Link copied to clipboard
val id: String

Widget item identifier tag.

Link copied to clipboard

Widget Mode Available values: "non-interactive", "invisible", "managed".

Link copied to clipboard

When the widget was modified.

Link copied to clipboard

Human readable widget name. Not unique. Cloudflare suggests that you set this to a meaningful string to make it easier to identify your widget, and where it is used.

Link copied to clipboard

Do not show any Cloudflare branding on the widget (ENT only).

Link copied to clipboard

Region where this widget can be used. Available values: "world".

Link copied to clipboard

Secret key for this widget.

Link copied to clipboard

Widget item identifier tag.