20 template <
typename UserType,
typename PassType>
22 : username_{XXHR_FWD(username)}, password_{XXHR_FWD(password)},
23 auth_string_{username_ +
":" + password_} {}
25 const char* GetAuthString() const noexcept {
return auth_string_.data(); }
28 std::string username()
const {
return username_; }
30 std::string password()
const {
return password_; }
33 std::string username_;
34 std::string password_;
35 std::string auth_string_;