/* */ #include "DefaultAuthResolver.h" #include "AuthConfig.h" namespace aria2 { DefaultAuthResolver::~DefaultAuthResolver() {} AuthConfigHandle DefaultAuthResolver::resolveAuthConfig(const std::string& hostname) { if(_userDefinedAuthConfig.isNull()) { return _defaultAuthConfig; } else { return _userDefinedAuthConfig; } } } // namespace aria2