Documentation ¶
Index ¶
Constants ¶
View Source
const RECAPTCHA_URL = "https://www.google.com/recaptcha/api/siteverify"
Recaptcha code from https://github.com/haisum/recaptcha/blob/master/recaptcha.go
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserSyncDeps ¶
type UserSyncDeps struct { ExternalUrl string RecaptchaSecret string HostCookieConfig *config.HostCookie PriorityGroups [][]string }
func (*UserSyncDeps) OptOut ¶
func (deps *UserSyncDeps) OptOut(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*UserSyncDeps) VerifyRecaptcha ¶
func (deps *UserSyncDeps) VerifyRecaptcha(response string) error
Click to show internal directories.
Click to hide internal directories.