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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/self_access_verifier.cc ('k') | remoting/proto/chromotocol.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/proto/auth.proto
diff --git a/remoting/proto/auth.proto b/remoting/proto/auth.proto
deleted file mode 100644
index 7b671e2a830ddb9b0d8bd88f8283872f48bad368..0000000000000000000000000000000000000000
--- a/remoting/proto/auth.proto
+++ /dev/null
@@ -1,63 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Messages related to Client/Host Mutual Authentication and Local Login.
-
-syntax = "proto2";
-
-option optimize_for = LITE_RUNTIME;
-
-package remoting.protocol;
-
-// Represents the data used in generating the client auth token during session
-// initiation.
-message ClientAuthToken {
- optional string host_full_jid = 1;
- optional string client_full_jid = 2;
-
- // A short-lived OAuth token identifying the client to the host.
- optional string client_oauth_token = 3;
-}
-
-// There can be more challenge types later
-enum CredentialType {
- PASSWORD = 0;
-}
-
-message LocalLoginCredentials {
- optional CredentialType type = 1;
- optional string username = 2;
- optional bytes credential = 3;
-}
-
-message LocalLoginStatus {
- optional bool success = 1;
-
- // Only populated if success is set to false.
- optional int32 tries_remaining = 2 [default = 0];
- optional string error_info = 3;
-}
-
-// Sent from the Host to the Client. This is the first message after
-// channels are established.
-message LocalLoginProperties {
- repeated CredentialType supported_credential_types = 1;
-
- // Used to generate the bank style anti-phishing image.
- // This info is stored only on the host.
- optional bytes antiphish_image = 2;
- optional bytes antiphish_text = 3;
-}
-
-// Sent from Client to Host. This consists of both the login attempt,
-// and any session configuration information.
-message BeginSessionRequest {
- optional LocalLoginCredentials credentials = 1;
-}
-
-// Sent from Host to Client. Replies with login success, and
-// final client configuration.
-message BeginSessionResponse {
- optional LocalLoginStatus login_status = 1;
-}
« 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