Yicheng Li | a42e6d4 | 2021-01-22 14:58:46 -0800 | [diff] [blame] | 1 | // Copyright 2021 The Chromium OS 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 | #ifndef U2FD_U2F_MODE_H_ |
| 6 | #define U2FD_U2F_MODE_H_ |
| 7 | |
| 8 | #include <bindings/chrome_device_policy.pb.h> |
| 9 | |
| 10 | namespace u2f { |
| 11 | |
| 12 | namespace em = enterprise_management; |
| 13 | |
| 14 | enum class U2fMode : uint8_t { |
| 15 | kUnset = em::DeviceSecondFactorAuthenticationProto_U2fMode_UNSET, |
| 16 | kDisabled = em::DeviceSecondFactorAuthenticationProto_U2fMode_DISABLED, |
| 17 | kU2f = em::DeviceSecondFactorAuthenticationProto_U2fMode_U2F, |
| 18 | kU2fExtended = em::DeviceSecondFactorAuthenticationProto_U2fMode_U2F_EXTENDED, |
| 19 | }; |
| 20 | |
| 21 | } // namespace u2f |
| 22 | |
| 23 | #endif // U2FD_U2F_MODE_H_ |