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.
()
| 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) |
no outgoing calls
no test coverage detected