Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Unified Diff: remoting/protocol/it2me_host_authenticator_factory.h

Issue 1755273003: Simplify AuthenticationMethod type and PIN hash handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/protocol/it2me_host_authenticator_factory.h
diff --git a/remoting/protocol/it2me_host_authenticator_factory.h b/remoting/protocol/it2me_host_authenticator_factory.h
index fddea60e4cf2a221eb62a6ec2d71a661aedaeea9..78957d262dba6dbdfcf4c5d614b2d652562e576b 100644
--- a/remoting/protocol/it2me_host_authenticator_factory.h
+++ b/remoting/protocol/it2me_host_authenticator_factory.h
@@ -23,11 +23,10 @@ namespace protocol {
// understands both the V2 and legacy V1 authentication mechanisms.
class It2MeHostAuthenticatorFactory : public AuthenticatorFactory {
public:
- It2MeHostAuthenticatorFactory(
- const std::string& local_cert,
- scoped_refptr<RsaKeyPair> key_pair,
- const std::string& shared_secret,
- const std::string& required_client_domain);
+ It2MeHostAuthenticatorFactory(const std::string& local_cert,
+ scoped_refptr<RsaKeyPair> key_pair,
+ const std::string& access_code,
+ const std::string& required_client_domain);
~It2MeHostAuthenticatorFactory() override;
// AuthenticatorFactory interface.
@@ -39,7 +38,7 @@ class It2MeHostAuthenticatorFactory : public AuthenticatorFactory {
private:
std::string local_cert_;
scoped_refptr<RsaKeyPair> key_pair_;
- std::string shared_secret_;
+ std::string access_code_;
std::string required_client_domain_;
DISALLOW_COPY_AND_ASSIGN(It2MeHostAuthenticatorFactory);

Powered by Google App Engine
This is Rietveld 408576698