类 CaptchaController

java.lang.Object
cn.herodotus.stirrup.oauth2.management.controller.CaptchaController
所有已实现的接口:
cn.herodotus.stirrup.web.core.definition.Controller

@RestController @RequestMapping("/open/captcha") @Validated public class CaptchaController extends Object implements cn.herodotus.stirrup.web.core.definition.Controller

Description: 验证码Controller

作者:
: gengwei.zheng
Date:
: 2021/12/12 10:44
  • 构造器概要

    构造器
    构造器
    说明
    CaptchaController(cn.herodotus.stirrup.captcha.core.processor.CaptchaRendererFactory captchaRendererFactory)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    cn.herodotus.stirrup.core.definition.domain.Result<Boolean>
    check(@Valid cn.herodotus.stirrup.captcha.core.dto.Verification verification)
     
    cn.herodotus.stirrup.core.definition.domain.Result<cn.herodotus.stirrup.captcha.core.dto.Captcha>
    create(@NotBlank(message="\u8eab\u4efd\u4fe1\u606f\u4e0d\u80fd\u4e3a\u7a7a") String identity, @NotBlank(message="\u9a8c\u8bc1\u7801\u7c7b\u578b\u4e0d\u80fd\u4e3a\u7a7a") String category)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 cn.herodotus.stirrup.web.core.definition.Controller

    getPageInfoMap, result, result, result, result, result, result, result
  • 构造器详细资料

    • CaptchaController

      public CaptchaController(cn.herodotus.stirrup.captcha.core.processor.CaptchaRendererFactory captchaRendererFactory)
  • 方法详细资料

    • create

      @AccessLimited @GetMapping public cn.herodotus.stirrup.core.definition.domain.Result<cn.herodotus.stirrup.captcha.core.dto.Captcha> create(@NotBlank(message="\u8eab\u4efd\u4fe1\u606f\u4e0d\u80fd\u4e3a\u7a7a") @NotBlank(message="\u8eab\u4efd\u4fe1\u606f\u4e0d\u80fd\u4e3a\u7a7a") String identity, @NotBlank(message="\u9a8c\u8bc1\u7801\u7c7b\u578b\u4e0d\u80fd\u4e3a\u7a7a") @NotBlank(message="\u9a8c\u8bc1\u7801\u7c7b\u578b\u4e0d\u80fd\u4e3a\u7a7a") String category)
    • check

      @Idempotent @Crypto(responseEncrypt=false) @PostMapping public cn.herodotus.stirrup.core.definition.domain.Result<Boolean> check(@Valid @RequestBody @Valid cn.herodotus.stirrup.captcha.core.dto.Verification verification)