#include "remoting/protocol/it2me_host_authenticator_factory.h"
#include <memory>
#include <string>
#include <utility>
#include "remoting/base/rsa_key_pair.h"
#include "remoting/protocol/host_authentication_config.h"
#include "remoting/protocol/negotiating_host_authenticator.h"
#include "remoting/protocol/validating_authenticator.h"
namespace remoting::protocol {
It2MeHostAuthenticatorFactory::It2MeHostAuthenticatorFactory(
const std::string& local_cert,
scoped_refptr<RsaKeyPair> key_pair,
const std::string& access_code_hash,
const ValidatingAuthenticator::ValidationCallback& callback)
: … { … }
It2MeHostAuthenticatorFactory::~It2MeHostAuthenticatorFactory() = default;
std::unique_ptr<Authenticator>
It2MeHostAuthenticatorFactory::CreateAuthenticator(
const std::string& local_jid,
const std::string& remote_jid) { … }
}