Interface HvlAuthVerificationCacheService
- All Known Implementing Classes:
HvlAuthVerificationRedisCacheServiceImpl
@Validated
public interface HvlAuthVerificationCacheService
This service provides operational methods.
-
Field Details
-
VERIFICATION_CACHE_NAME
- See Also:
-
VERIFICATION_KEY_SPACE
- See Also:
-
-
Method Details
-
set
void set(@NotBlank @NotBlank String key, @NotNull @NotNull HvlAuthVerificationCodeModel model, @NotNull @NotNull Duration ttl) Set cache- Parameters:
key
- the cache key
-
get
Get cache- Parameters:
key
- the cache key
-
delete
Delete cache.
-