Package com.bytedesk.core.kaptcha
Class KaptchaRedisService
java.lang.Object
com.bytedesk.core.kaptcha.KaptchaRedisService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BytedeskProperties
private static final long
private final org.springframework.data.redis.core.StringRedisTemplate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckKaptcha
(String key, String value, String channel) getKaptcha
(String key) hasKaptcha
(String key) void
putKaptcha
(String key, String value) void
removeKaptcha
(String key)
-
Field Details
-
EXPIRE_TIME
private static final long EXPIRE_TIME- See Also:
-
stringRedisTemplate
private final org.springframework.data.redis.core.StringRedisTemplate stringRedisTemplate -
bytedeskProperties
-
-
Constructor Details
-
KaptchaRedisService
public KaptchaRedisService()
-
-
Method Details
-
putKaptcha
-
hasKaptcha
-
getKaptcha
-
checkKaptcha
-
removeKaptcha
-