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, |
+}; |