#include "remoting/protocol/pairing_authenticator_base.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/logging.h"
#include "remoting/base/constants.h"
#include "remoting/protocol/channel_authenticator.h"
#include "remoting/protocol/credentials_type.h"
namespace remoting::protocol {
namespace {
const jingle_xmpp::StaticQName kPairingFailedTag = …;
const jingle_xmpp::StaticQName kPairingErrorAttribute = …;
}
PairingAuthenticatorBase::PairingAuthenticatorBase() { … }
PairingAuthenticatorBase::~PairingAuthenticatorBase() = default;
CredentialsType PairingAuthenticatorBase::credentials_type() const { … }
const Authenticator& PairingAuthenticatorBase::implementing_authenticator()
const { … }
Authenticator::State PairingAuthenticatorBase::state() const { … }
bool PairingAuthenticatorBase::started() const { … }
Authenticator::RejectionReason PairingAuthenticatorBase::rejection_reason()
const { … }
void PairingAuthenticatorBase::ProcessMessage(
const jingle_xmpp::XmlElement* message,
base::OnceClosure resume_callback) { … }
std::unique_ptr<jingle_xmpp::XmlElement>
PairingAuthenticatorBase::GetNextMessage() { … }
const std::string& PairingAuthenticatorBase::GetAuthKey() const { … }
std::unique_ptr<ChannelAuthenticator>
PairingAuthenticatorBase::CreateChannelAuthenticator() const { … }
void PairingAuthenticatorBase::MaybeAddErrorMessage(
jingle_xmpp::XmlElement* message) { … }
bool PairingAuthenticatorBase::HasErrorMessage(
const jingle_xmpp::XmlElement* message) const { … }
void PairingAuthenticatorBase::CheckForFailedSpakeExchange(
base::OnceClosure resume_callback) { … }
}