blob: ac15bef5f2693da161a5dbd2d5e665f504c989ae [file] [log] [blame]
Yicheng Lia42e6d42021-01-22 14:58:46 -08001// 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
10namespace u2f {
11
12namespace em = enterprise_management;
13
14enum 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_