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

Side by Side Diff: remoting/protocol/third_party_client_authenticator.h

Issue 1794433002: Use ClientAuthenticationConfig in PairingClientAuthenticator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « remoting/protocol/spake2_authenticator.h ('k') | remoting/protocol/v2_authenticator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_PROTOCOL_THIRD_PARTY_CLIENT_AUTHENTICATOR_H_ 5 #ifndef REMOTING_PROTOCOL_THIRD_PARTY_CLIENT_AUTHENTICATOR_H_
6 #define REMOTING_PROTOCOL_THIRD_PARTY_CLIENT_AUTHENTICATOR_H_ 6 #define REMOTING_PROTOCOL_THIRD_PARTY_CLIENT_AUTHENTICATOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "remoting/protocol/client_authentication_config.h"
14 #include "remoting/protocol/third_party_authenticator_base.h" 15 #include "remoting/protocol/third_party_authenticator_base.h"
15 16
16 namespace remoting { 17 namespace remoting {
17 namespace protocol { 18 namespace protocol {
18 19
19 // Implements the client side of the third party authentication mechanism. 20 // Implements the client side of the third party authentication mechanism.
20 // The client authenticator expects a |token_url| and |scope| in the first 21 // The client authenticator expects a |token_url| and |scope| in the first
21 // message from the host, then calls the |TokenFetcher| asynchronously to 22 // message from the host, then calls the |TokenFetcher| asynchronously to
22 // request a |token| and |shared_secret| from that url. If the server requires 23 // request a |token| and |shared_secret| from that url. If the server requires
23 // interactive authentication, the |TokenFetcher| implementation will show the 24 // interactive authentication, the |TokenFetcher| implementation will show the
(...skipping 28 matching lines...) Expand all
52 base::WeakPtrFactory<ThirdPartyClientAuthenticator> weak_factory_; 53 base::WeakPtrFactory<ThirdPartyClientAuthenticator> weak_factory_;
53 54
54 DISALLOW_COPY_AND_ASSIGN(ThirdPartyClientAuthenticator); 55 DISALLOW_COPY_AND_ASSIGN(ThirdPartyClientAuthenticator);
55 }; 56 };
56 57
57 58
58 } // namespace protocol 59 } // namespace protocol
59 } // namespace remoting 60 } // namespace remoting
60 61
61 #endif // REMOTING_PROTOCOL_THIRD_PARTY_CLIENT_AUTHENTICATOR_H_ 62 #endif // REMOTING_PROTOCOL_THIRD_PARTY_CLIENT_AUTHENTICATOR_H_
OLDNEW
« no previous file with comments | « remoting/protocol/spake2_authenticator.h ('k') | remoting/protocol/v2_authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698