Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Client *http.Client
Functions ¶
func GetCaptchaURL ¶
Types ¶
type GotrueRequest ¶
type GotrueRequest struct {
Security GotrueSecurity `json:"gotrue_meta_security"`
}
type GotrueSecurity ¶
type GotrueSecurity struct {
Token string `json:"captcha_token"`
}
type VerificationResponse ¶
type VerificationResponse struct {
Success bool `json:"success"`
ErrorCodes []string `json:"error-codes"`
Hostname string `json:"hostname"`
}
func VerifyRequest ¶
func VerifyRequest( r *http.Request, secretKey, captchaProvider string, ) (VerificationResponse, error)
Click to show internal directories.
Click to hide internal directories.