| 程序包 | 说明 |
|---|---|
| cloud.tianai.captcha.common.response | |
| cloud.tianai.captcha.validator | |
| cloud.tianai.captcha.validator.impl |
| 限定符和类型 | 字段和说明 |
|---|---|
static ApiResponse<?> |
ApiResponse.SUCCESS |
| 限定符和类型 | 方法和说明 |
|---|---|
<R> ApiResponse<R> |
ApiResponse.convert() |
static <T> ApiResponse<T> |
ApiResponse.of(CodeDefinition definition,
T data) |
static <T> ApiResponse<T> |
ApiResponse.of(Integer code,
String msg,
T data) |
static <T> ApiResponse<T> |
ApiResponse.ofCheckError(String message) |
static <T> ApiResponse<T> |
ApiResponse.ofError(String message) |
static <T> ApiResponse<T> |
ApiResponse.ofError(String message,
Object obj) |
static <T> ApiResponse<T> |
ApiResponse.ofMessage(CodeDefinition definition) |
static <T> ApiResponse<T> |
ApiResponse.ofSuccess() |
static <T> ApiResponse<T> |
ApiResponse.ofSuccess(T data) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiResponse<?> |
ImageCaptchaValidator.valid(ImageCaptchaTrack imageCaptchaTrack,
Map<String,Object> imageCaptchaValidData)
校验用户滑动滑块是否正确
|
| 限定符和类型 | 方法和说明 |
|---|---|
ApiResponse<?> |
SimpleImageCaptchaValidator.afterValid(ImageCaptchaTrack imageCaptchaTrack,
Map<String,Object> captchaValidData,
Float tolerant,
String type)
验证后
|
ApiResponse<?> |
BasicCaptchaTrackValidator.afterValid(ImageCaptchaTrack imageCaptchaTrack,
Map<String,Object> sliderCaptchaValidData,
Float tolerant,
String type) |
ApiResponse<?> |
SimpleImageCaptchaValidator.beforeValid(ImageCaptchaTrack imageCaptchaTrack,
Map<String,Object> captchaValidData,
Float tolerant,
String type)
验证前
|
ApiResponse<?> |
BasicCaptchaTrackValidator.beforeValid(ImageCaptchaTrack imageCaptchaTrack,
Map<String,Object> sliderCaptchaValidData,
Float tolerant,
String type) |
ApiResponse<?> |
SimpleImageCaptchaValidator.valid(ImageCaptchaTrack imageCaptchaTrack,
Map<String,Object> imageCaptchaValidData) |
Copyright © 2023. All rights reserved.