43 AuthStandaloneCheckerBase(
46 const SecdistConfig& secdist_config,
53 std::optional<UserData>
FetchUserData(
const std::string& username)
const override;
55 const std::string& username,
56 const std::string& nonce,
57 std::int64_t nonce_count,
58 TimePoint nonce_creation_time
64 virtual std::optional<UserData::HA1> GetHA1(std::string_view username)
const = 0;
67 using NonceCache =
cache::ExpirableLruCache<std::string, TimePoint>;
70 mutable rcu::RcuMap<std::string,
concurrent::Variable<NonceInfo>> user_data_;
73 mutable NonceCache unnamed_nonces_;