类 SliderCode

  • 所有已实现的接口:
    Serializable

    public class SliderCode
    extends top.dcenter.ums.security.core.auth.validate.codes.ValidateCode
    滑块验证码, 添加 @Transient 注解的是为了在保存 session 时把不必要的图片字段值清除.
    版本:
    V1.0 Created by 2020/9/21 12:33
    作者:
    zyw
    另请参阅:
    序列化表格
    • 构造器详细资料

      • SliderCode

        public SliderCode​(String code,
                          int expireIn,
                          String token,
                          String newImage,
                          String sourceImage,
                          Integer x,
                          Integer locationY,
                          Integer sourceWidth,
                          Integer sourceHeight)
        滑块验证码
        参数:
        code - 验证码
        expireIn - 秒
        token - token
        newImage - newImage
        sourceImage - sourceImage
        sourceWidth - sourceWidth
        sourceHeight - sourceHeight
        x - x
        locationY - locationY