PLCnext API Documentation 25.0.2.69
UmAuthenticationResult.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/System/Core/Enum.hxx"
9
10namespace Arp { namespace System { namespace Um { namespace Commons
11{
12
13enum class UmAuthenticationResult
14{
15 None = 0,
16 Success = 1,
17 Failed = 2,
18 WrongPassword = 3,
19 PasswordExpired = 4,
20 PasswordAboutToExpire = 5,
21 UserLocked = 6,
22};
23
25// global stream operators of enum UmAuthenticationResult for logging and parsing
26ARP_CXX_SYMBOL_EXPORT std::ostream& operator<<(std::ostream& os, UmAuthenticationResult value);
27ARP_CXX_SYMBOL_EXPORT std::istream& operator>>(std::istream& is, UmAuthenticationResult& value);
28
29}}}} // end of namespace Arp::System::Um::Commons
30
32// template specialization of UmAuthenticationResult formatter
33template<> struct fmt::formatter<Arp::System::Um::Commons::UmAuthenticationResult>: public fmt::ostream_formatter {};
Root namespace for the PLCnext API