New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

com.github.ducheng:captcha-spring-boot-starter

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

com.github.ducheng:captcha-spring-boot-starter

Demo project for Spring Boot

  • 0.0.3
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

captcha-spring-boot-starter

返回自定义验证码

  1. 使用方式maven 依赖 ,已成功发布到maven中央仓库 com.github.ducheng captcha-spring-boot-starter 0.0.1
  1. 使用测试类

    @GetMapping("/index") @ReturnCaptcha(codeNumber = 6,disturbLinesize = 60) public Captcha getindex() { return Captcha.LINE; }

注意不能和@RestController 一起使用

Captcha 是一个枚举,有三种 可以 选择验证码的干扰方式 LineCaptcha 线段干扰 (line) CircleCaptcha 圆圈干扰(circle),ShearCaptcha 扭曲干扰(shear) 对应的四个属性 // 长、 int lengSize() default 200;

// 宽、
int widhSize() default 100;

// 验证码字符数、
int codeNumber() default 4;

// 干扰线宽度
int disturbLinesize() default 4;

image

FAQs

Package last updated on 27 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc