我正在开发一个 OTP 服务来通过短信验证用户。要验证 opt 消息,保存 OTP 的最佳方法是什么?我正在考虑使用像 Redis 这样的缓存选项。
谢谢。
authentication caching one-time-password redis
authentication ×1
caching ×1
one-time-password ×1
redis ×1