captcha

package
v0.0.0-...-f83813f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Legacy cloudfare captcha

Index

Constants

View Source
const (
	CloudflareVerifyEndpoint string = "https://challenges.cloudflare.com/turnstile/v0/siteverify"
)

Variables

Functions

This section is empty.

Types

type CloudflareClient

type CloudflareClient struct {
	HTTPClient  HTTPClient
	Credentials *config.Deprecated_CaptchaCloudflareCredentials
}

func (*CloudflareClient) Verify

type CloudflareVerificationResponse

type CloudflareVerificationResponse struct {
	Success bool `json:"success"`
}

type HTTPClient

type HTTPClient struct {
	*http.Client
}

func NewHTTPClient

func NewHTTPClient() HTTPClient

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL