OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_SUPERVISED_USER_AUTHENTICATION_H_ | 4 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_SUPERVISED_USER_AUTHENTICATION_H_ |
5 #define CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_SUPERVISED_USER_AUTHENTICATION_H_ | 5 #define CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_SUPERVISED_USER_AUTHENTICATION_H_ |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "base/values.h" | 11 #include "base/values.h" |
| 12 #include "chrome/browser/chromeos/login/auth/user_context.h" |
12 #include "chrome/browser/chromeos/login/managed/supervised_user_login_flow.h" | 13 #include "chrome/browser/chromeos/login/managed/supervised_user_login_flow.h" |
13 | 14 |
14 namespace chromeos { | 15 namespace chromeos { |
15 | 16 |
16 class SupervisedUserManager; | 17 class SupervisedUserManager; |
17 class UserContext; | |
18 | 18 |
19 // This is a class that encapsulates all details of password handling for | 19 // This is a class that encapsulates all details of password handling for |
20 // supervised users. | 20 // supervised users. |
21 // Main property is the schema used to handle password. For now it can be either | 21 // Main property is the schema used to handle password. For now it can be either |
22 // plain password schema, when plain text password is passed to standard | 22 // plain password schema, when plain text password is passed to standard |
23 // cryprohome authentication algorithm without modification, or hashed password | 23 // cryprohome authentication algorithm without modification, or hashed password |
24 // schema, when password is additioUpdateContextToChecknally hashed with | 24 // schema, when password is additioUpdateContextToChecknally hashed with |
25 // user-specific salt. | 25 // user-specific salt. |
26 // Second schema is required to allow password syncing across devices for | 26 // Second schema is required to allow password syncing across devices for |
27 // supervised users. | 27 // supervised users. |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 // Target schema version. Affects migration process and new user creation. | 123 // Target schema version. Affects migration process and new user creation. |
124 Schema stable_schema_; | 124 Schema stable_schema_; |
125 | 125 |
126 | 126 |
127 DISALLOW_COPY_AND_ASSIGN(SupervisedUserAuthentication); | 127 DISALLOW_COPY_AND_ASSIGN(SupervisedUserAuthentication); |
128 }; | 128 }; |
129 | 129 |
130 } // namespace chromeos | 130 } // namespace chromeos |
131 | 131 |
132 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_SUPERVISED_USER_AUTHENTICATION_
H_ | 132 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_SUPERVISED_USER_AUTHENTICATION_
H_ |
OLD | NEW |