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

Side by Side Diff: remoting/proto/auth.proto

Issue 8351084: Remove old Authentication code that we don't use or need. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 1 month 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/self_access_verifier.cc ('k') | remoting/proto/chromotocol.gyp » ('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) 2010 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 // Messages related to Client/Host Mutual Authentication and Local Login.
6
7 syntax = "proto2";
8
9 option optimize_for = LITE_RUNTIME;
10
11 package remoting.protocol;
12
13 // Represents the data used in generating the client auth token during session
14 // initiation.
15 message ClientAuthToken {
16 optional string host_full_jid = 1;
17 optional string client_full_jid = 2;
18
19 // A short-lived OAuth token identifying the client to the host.
20 optional string client_oauth_token = 3;
21 }
22
23 // There can be more challenge types later
24 enum CredentialType {
25 PASSWORD = 0;
26 }
27
28 message LocalLoginCredentials {
29 optional CredentialType type = 1;
30 optional string username = 2;
31 optional bytes credential = 3;
32 }
33
34 message LocalLoginStatus {
35 optional bool success = 1;
36
37 // Only populated if success is set to false.
38 optional int32 tries_remaining = 2 [default = 0];
39 optional string error_info = 3;
40 }
41
42 // Sent from the Host to the Client. This is the first message after
43 // channels are established.
44 message LocalLoginProperties {
45 repeated CredentialType supported_credential_types = 1;
46
47 // Used to generate the bank style anti-phishing image.
48 // This info is stored only on the host.
49 optional bytes antiphish_image = 2;
50 optional bytes antiphish_text = 3;
51 }
52
53 // Sent from Client to Host. This consists of both the login attempt,
54 // and any session configuration information.
55 message BeginSessionRequest {
56 optional LocalLoginCredentials credentials = 1;
57 }
58
59 // Sent from Host to Client. Replies with login success, and
60 // final client configuration.
61 message BeginSessionResponse {
62 optional LocalLoginStatus login_status = 1;
63 }
OLDNEW
« no previous file with comments | « remoting/host/self_access_verifier.cc ('k') | remoting/proto/chromotocol.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698