#include <AuthenticationSecure.h>
Public Member Functions | |
AuthenticationSecure (VisionaryControl &vctrl) | |
bool | login (UserLevel userLevel, const std::string &password) override |
bool | logout () override |
~AuthenticationSecure () override | |
![]() | |
virtual | ~IAuthentication ()=default |
Private Member Functions | |
ChallengeResponse | CreateChallengeResponse (UserLevel userLevel, const std::string &password, const ChallengeRequest &challengeRequest, ProtocolType protocolType) |
PasswordHash | CreatePasswordHash (UserLevel userLevel, const std::string &password, const ChallengeRequest &challengeRequest, ProtocolType protocolType) |
bool | loginImpl (UserLevel userLevel, const std::string &password, const CoLaParameterReader &getChallengeResponse, ProtocolType protocolType) |
Private Attributes | |
ProtocolType | m_protocolType |
VisionaryControl & | m_VisionaryControl |
Additional Inherited Members | |
![]() | |
enum | UserLevel : int8_t { UserLevel::RUN = 0, UserLevel::OPERATOR = 1, UserLevel::MAINTENANCE = 2, UserLevel::AUTHORIZED_CLIENT = 3, UserLevel::SERVICE = 4 } |
Available CoLa user levels. More... | |
Definition at line 28 of file AuthenticationSecure.h.
|
explicit |
Definition at line 24 of file AuthenticationSecure.cpp.
|
overridedefault |
|
private |
Definition at line 93 of file AuthenticationSecure.cpp.
|
private |
Definition at line 31 of file AuthenticationSecure.cpp.
|
overridevirtual |
Implements visionary::IAuthentication.
Definition at line 160 of file AuthenticationSecure.cpp.
|
private |
Definition at line 111 of file AuthenticationSecure.cpp.
|
overridevirtual |
Implements visionary::IAuthentication.
Definition at line 199 of file AuthenticationSecure.cpp.
|
private |
Definition at line 39 of file AuthenticationSecure.h.
|
private |
Definition at line 38 of file AuthenticationSecure.h.