#ifndef REMOTING_PROTOCOL_CLIENT_AUTHENTICATION_CONFIG_H_
#define REMOTING_PROTOCOL_CLIENT_AUTHENTICATION_CONFIG_H_
#include <string>
#include "base/functional/callback.h"
namespace remoting::protocol {
typedef base::RepeatingCallback<void(const std::string& secret)>
SecretFetchedCallback;
typedef base::RepeatingCallback<void(
bool pairing_supported,
const SecretFetchedCallback& secret_fetched_callback)>
FetchSecretCallback;
struct ClientAuthenticationConfig {
ClientAuthenticationConfig();
ClientAuthenticationConfig(const ClientAuthenticationConfig& other);
~ClientAuthenticationConfig();
std::string host_id;
std::string pairing_client_id;
std::string pairing_secret;
FetchSecretCallback fetch_secret_callback;
};
}
#endif