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

Unified Diff: components/proximity_auth/public/interfaces/auth_type.mojom

Issue 2937553002: Create Mojo Struct for user information used in login/lock screen. (Closed)
Patch Set: rebase Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/proximity_auth/public/interfaces/OWNERS ('k') | components/proximity_auth/screenlock_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/public/interfaces/auth_type.mojom
diff --git a/components/proximity_auth/public/interfaces/auth_type.mojom b/components/proximity_auth/public/interfaces/auth_type.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..12ad61f72b8f75c2ef0725edf1d9278b10e332f9
--- /dev/null
+++ b/components/proximity_auth/public/interfaces/auth_type.mojom
@@ -0,0 +1,28 @@
+// Copyright 2017 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.
+
+module proximity_auth.mojom;
+
+// Supported authentication types.
+enum AuthType {
+ // Password is used to authenticate.
+ OFFLINE_PASSWORD,
+
+ // Online authentication against GAIA.
+ ONLINE_SIGN_IN,
+
+ // Pin is used to authenticate.
+ NUMERIC_PIN,
+
+ // Click on the user pod to unlock/sign-in.
+ USER_CLICK,
+
+ // Used for public session. Click on the user pod would expand the pod and
+ // allow a click to sign-in.
+ EXPAND_THEN_USER_CLICK,
+
+ // Forced to use password to authenticate.
+ // Unlike OFFLINE_PASSWORD, this can't be changed to any other.
+ FORCE_OFFLINE_PASSWORD,
+};
« no previous file with comments | « components/proximity_auth/public/interfaces/OWNERS ('k') | components/proximity_auth/screenlock_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698