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

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

Issue 8604001: Move SSL layer initialization into ChannelAuthenticator implementations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simple->V1 Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « remoting/host/support_access_verifier.cc ('k') | remoting/protocol/auth_token_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_PROTOCOL_AUTH_TOKEN_UTILS_H_
6 #define REMOTING_PROTOCOL_AUTH_TOKEN_UTILS_H_
7
8 #include <string>
9
10 namespace remoting {
11 namespace protocol {
12
13 // Generates auth token for the specified |jid| and |access_code|.
14 std::string GenerateSupportAuthToken(const std::string& jid,
15 const std::string& access_code);
16
17 // Verifies validity of an |access_token|.
18 bool VerifySupportAuthToken(const std::string& jid,
19 const std::string& access_code,
20 const std::string& auth_token);
21
22 } // namespace protocol
23 } // namespace remoting
24
25 #endif // REMOTING_PROTOCOL_AUTH_TOKEN_UTILS_H_
OLDNEW
« no previous file with comments | « remoting/host/support_access_verifier.cc ('k') | remoting/protocol/auth_token_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698