Uses of Class
cloud.opencode.base.captcha.CaptchaConfig
Packages that use CaptchaConfig
Package
Description
OpenCode Base Captcha - Zero-dependency CAPTCHA generation library
OpenCode Base 验证码 - 零依赖验证码生成库
CAPTCHA Generators
验证码生成器
Interactive CAPTCHA Generators
交互式验证码生成器
CAPTCHA Support Utilities
验证码支持工具
-
Uses of CaptchaConfig in cloud.opencode.base.captcha
Methods in cloud.opencode.base.captcha that return CaptchaConfigModifier and TypeMethodDescriptionCaptchaConfig.Builder.build()Builds the configuration after validating all parameters.static CaptchaConfigCaptchaConfig.defaults()Creates a default configuration.OpenCaptcha.getConfig()Gets the configuration.Methods in cloud.opencode.base.captcha with parameters of type CaptchaConfigModifier and TypeMethodDescriptionOpenCaptcha.Builder.config(CaptchaConfig config) Sets the configuration.static CaptchaOpenCaptcha.create(CaptchaConfig config) Creates a CAPTCHA with the specified configuration.OpenCaptcha.generate(CaptchaConfig config) Generates a CAPTCHA with configuration and stores it. -
Uses of CaptchaConfig in cloud.opencode.base.captcha.generator
Methods in cloud.opencode.base.captcha.generator with parameters of type CaptchaConfigModifier and TypeMethodDescriptionprotected CaptchaAbstractCaptchaGenerator.buildCaptcha(CaptchaType type, byte[] imageData, String answer, CaptchaConfig config) Builds a CAPTCHA from generated data.protected Graphics2DAbstractCaptchaGenerator.createGraphics(BufferedImage image, CaptchaConfig config) Creates graphics for the image.protected BufferedImageAbstractCaptchaGenerator.createImage(CaptchaConfig config) Creates a buffered image with the specified configuration.AbstractCaptchaGenerator.createMetadata(CaptchaConfig config) Creates metadata for the CAPTCHA.protected voidAbstractCaptchaGenerator.drawNoise(Graphics2D g, CaptchaConfig config) Draws noise on the image.ArithmeticCaptchaGenerator.generate(CaptchaConfig config) AudioCaptchaGenerator.generate(CaptchaConfig config) CaptchaGenerator.generate(CaptchaConfig config) Generates a CAPTCHA with the specified configuration.ChineseCaptchaGenerator.generate(CaptchaConfig config) GifCaptchaGenerator.generate(CaptchaConfig config) ImageCaptchaGenerator.generate(CaptchaConfig config) PowCaptchaGenerator.generate(CaptchaConfig config) Generates a PoW CAPTCHA challenge.SpecCaptchaGenerator.generate(CaptchaConfig config) TestCaptchaGenerator.generate(CaptchaConfig config) Generates a CAPTCHA with the fixed answer and minimal image data. -
Uses of CaptchaConfig in cloud.opencode.base.captcha.interactive
Methods in cloud.opencode.base.captcha.interactive with parameters of type CaptchaConfigModifier and TypeMethodDescriptionClickCaptchaGenerator.generate(CaptchaConfig config) ImageSelectCaptchaGenerator.generate(CaptchaConfig config) JigsawCaptchaGenerator.generate(CaptchaConfig config) RotateCaptchaGenerator.generate(CaptchaConfig config) SliderCaptchaGenerator.generate(CaptchaConfig config) -
Uses of CaptchaConfig in cloud.opencode.base.captcha.support
Methods in cloud.opencode.base.captcha.support that return CaptchaConfigModifier and TypeMethodDescriptionGets the adapted configuration for a client.CaptchaDifficultyAdapter.getConfig(String clientId, CaptchaConfig baseConfig) Gets the adapted configuration with custom base config.CaptchaStrength.toConfig()Creates a configuration with this strength.Methods in cloud.opencode.base.captcha.support with parameters of type CaptchaConfigModifier and TypeMethodDescriptionCaptchaPool.Builder.config(CaptchaConfig config) Sets the CAPTCHA configuration for generation.static voidCaptchaNoiseUtil.drawBackgroundNoise(Graphics2D g, CaptchaConfig config) Draws background noise.static voidCaptchaNoiseUtil.drawCubicCurveLines(Graphics2D g, CaptchaConfig config) Draws cubic curve lines on the graphics.static voidCaptchaNoiseUtil.drawCurveLines(Graphics2D g, CaptchaConfig config) Draws curve lines on the graphics.static voidCaptchaNoiseUtil.drawGradientBackground(Graphics2D g, CaptchaConfig config) Draws background with gradient.static voidCaptchaNoiseUtil.drawInterferencePattern(Graphics2D g, CaptchaConfig config) Draws interference pattern.static voidCaptchaNoiseUtil.drawNoiseDots(Graphics2D g, CaptchaConfig config) Draws noise dots on the graphics.static voidCaptchaNoiseUtil.drawNoiseLines(Graphics2D g, CaptchaConfig config) Draws noise lines on the graphics.CaptchaDifficultyAdapter.getConfig(String clientId, CaptchaConfig baseConfig) Gets the adapted configuration with custom base config.static FontCaptchaFontUtil.getFont(CaptchaConfig config) Gets a font based on configuration.static ColorCaptchaFontUtil.getRandomColor(CaptchaConfig config) Gets a random color from the config colors.static voidCaptchaNoiseUtil.shear(Graphics2D g, CaptchaConfig config) Draws a shear transform effect.