MCPcopy Index your code
hub / github.com/apache/answer / Create

Method Create

plugin/captcha.go:30–30  ·  view source on GitHub ↗

Create optional. If this plugin need to create captcha via backend, implement this method. On other hand, if this plugin create captcha via third-party service, ignore this method. Return captcha: The captcha image base64 string, code: The real captcha code.

()

Source from the content-addressed store, hash-verified

28 // On other hand, if this plugin create captcha via third-party service, ignore this method.
29 // Return captcha: The captcha image base64 string, code: The real captcha code.
30 Create() (captcha, code string)
31 // Verify required. Verify the user input captcha is correct or not
32 // captcha: The captchaCode generated by Create method, if not implemented, it's empty.
33 Verify(captchaCode, userInput string) (pass bool)

Callers 3

GenerateCaptchaMethod · 0.80
AvatarThumbFileMethod · 0.80
copyDirEntriesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected