| Index: remoting/protocol/me2me_host_authenticator_factory.h
|
| diff --git a/remoting/protocol/me2me_host_authenticator_factory.h b/remoting/protocol/me2me_host_authenticator_factory.h
|
| index 307a1931d661dbdbefdb2d20d645bf44f1e06c01..928c640000fae98c15e2219ecbac26ef4acf97f3 100644
|
| --- a/remoting/protocol/me2me_host_authenticator_factory.h
|
| +++ b/remoting/protocol/me2me_host_authenticator_factory.h
|
| @@ -12,6 +12,7 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "remoting/protocol/authentication_method.h"
|
| #include "remoting/protocol/authenticator.h"
|
| +#include "remoting/protocol/third_party_authenticator.h"
|
|
|
| namespace remoting {
|
| namespace protocol {
|
| @@ -24,7 +25,11 @@ class Me2MeHostAuthenticatorFactory : public AuthenticatorFactory {
|
| Me2MeHostAuthenticatorFactory(
|
| const std::string& local_cert,
|
| scoped_ptr<KeyPair> key_pair,
|
| - const SharedSecretHash& shared_secret_hash);
|
| + const SharedSecretHash& shared_secret_hash,
|
| + const std::string& token_url,
|
| + const std::string& token_validation_url,
|
| + ThirdPartyAuthenticator::TokenValidatorFactory*
|
| + third_party_token_validator_factory);
|
| virtual ~Me2MeHostAuthenticatorFactory();
|
|
|
| // AuthenticatorFactory interface.
|
| @@ -38,6 +43,10 @@ class Me2MeHostAuthenticatorFactory : public AuthenticatorFactory {
|
| std::string local_cert_;
|
| scoped_ptr<KeyPair> key_pair_;
|
| SharedSecretHash shared_secret_hash_;
|
| + std::string third_party_token_url_;
|
| + std::string third_party_token_validation_url_;
|
| + ThirdPartyAuthenticator::TokenValidatorFactory*
|
| + third_party_token_validator_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(Me2MeHostAuthenticatorFactory);
|
| };
|
|
|