1 #pragma once
2 #include <nlohmann/json.hpp>
3 
4 namespace host_interface
5 {
6 // clang-format off
7 
8 enum class HostInterfaceType{
9     Invalid,
10     NetworkHostInterface,
11 };
12 
13 enum class AuthenticationMode{
14     Invalid,
15     AuthNone,
16     BasicAuth,
17     RedfishSessionAuth,
18     OemAuth,
19 };
20 
21 NLOHMANN_JSON_SERIALIZE_ENUM(HostInterfaceType, {
22     {HostInterfaceType::Invalid, "Invalid"},
23     {HostInterfaceType::NetworkHostInterface, "NetworkHostInterface"},
24 });
25 
26 NLOHMANN_JSON_SERIALIZE_ENUM(AuthenticationMode, {
27     {AuthenticationMode::Invalid, "Invalid"},
28     {AuthenticationMode::AuthNone, "AuthNone"},
29     {AuthenticationMode::BasicAuth, "BasicAuth"},
30     {AuthenticationMode::RedfishSessionAuth, "RedfishSessionAuth"},
31     {AuthenticationMode::OemAuth, "OemAuth"},
32 });
33 
34 }
35 // clang-format on
36