#include "remoting/protocol/pairing_client_authenticator.h"
#include "base/check.h"
#include "base/functional/bind.h"
#include "remoting/base/constants.h"
#include "remoting/protocol/auth_util.h"
#include "remoting/protocol/channel_authenticator.h"
#include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
namespace remoting::protocol {
PairingClientAuthenticator::PairingClientAuthenticator(
const ClientAuthenticationConfig& client_auth_config,
const CreateBaseAuthenticatorCallback& create_base_authenticator_callback)
: … { … }
PairingClientAuthenticator::~PairingClientAuthenticator() = default;
void PairingClientAuthenticator::Start(State initial_state,
base::OnceClosure resume_callback) { … }
void PairingClientAuthenticator::StartPaired(State initial_state) { … }
Authenticator::State PairingClientAuthenticator::state() const { … }
void PairingClientAuthenticator::CreateSpakeAuthenticatorWithPin(
State initial_state,
base::OnceClosure resume_callback) { … }
void PairingClientAuthenticator::OnPinFetched(State initial_state,
base::OnceClosure resume_callback,
const std::string& pin) { … }
}