#include "remoting/protocol/host_authentication_config.h"
#include "base/check.h"
#include "remoting/base/name_value_map.h"
namespace remoting::protocol {
namespace {
const NameMapElement<HostAuthenticationConfig::Method>
kAuthenticationMethodStrings[] = …;
}
HostAuthenticationConfig::Method HostAuthenticationConfig::ParseMethodString(
std::string_view value) { … }
std::string HostAuthenticationConfig::MethodToString(Method method) { … }
HostAuthenticationConfig::HostAuthenticationConfig(
std::string_view local_cert,
scoped_refptr<RsaKeyPair> key_pair)
: … { … }
HostAuthenticationConfig::~HostAuthenticationConfig() = default;
HostAuthenticationConfig::HostAuthenticationConfig(
const HostAuthenticationConfig&) = default;
HostAuthenticationConfig::HostAuthenticationConfig(HostAuthenticationConfig&&) =
default;
void HostAuthenticationConfig::AddSessionAuthzAuth(
scoped_refptr<SessionAuthzServiceClientFactory> factory) { … }
void HostAuthenticationConfig::AddPairingAuth(
scoped_refptr<PairingRegistry> registry) { … }
void HostAuthenticationConfig::AddSharedSecretAuth(std::string_view hash) { … }
std::vector<HostAuthenticationConfig::Method>
HostAuthenticationConfig::GetSupportedMethods() { … }
}