Public Member Functions | Private Member Functions | Private Attributes | List of all members
visionary::AuthenticationSecure Class Reference

#include <AuthenticationSecure.h>

Inheritance diagram for visionary::AuthenticationSecure:
Inheritance graph
[legend]

Public Member Functions

 AuthenticationSecure (SafeVisionaryControl &vctrl)
 
virtual bool login (UserLevel userLevel, const std::string &password)
 
virtual bool logout ()
 
virtual ~AuthenticationSecure ()
 
- Public Member Functions inherited from visionary::IAuthentication
virtual ~IAuthentication ()
 

Private Member Functions

ChallengeResponse CreateChallengeResponse (UserLevel userLevel, const std::string &password, const ChallengeRequest &challengeRequest)
 
PasswordHash CreatePasswortHash (UserLevel userLevel, const std::string &password, const ChallengeRequest &challengeRequest)
 

Private Attributes

SafeVisionaryControlm_VisionaryControl
 

Additional Inherited Members

- Public Types inherited from visionary::IAuthentication
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...
 

Detailed Description

Definition at line 38 of file AuthenticationSecure.h.

Constructor & Destructor Documentation

◆ AuthenticationSecure()

visionary::AuthenticationSecure::AuthenticationSecure ( SafeVisionaryControl vctrl)
explicit

Definition at line 41 of file AuthenticationSecure.cpp.

◆ ~AuthenticationSecure()

visionary::AuthenticationSecure::~AuthenticationSecure ( )
virtual

Definition at line 46 of file AuthenticationSecure.cpp.

Member Function Documentation

◆ CreateChallengeResponse()

ChallengeResponse visionary::AuthenticationSecure::CreateChallengeResponse ( UserLevel  userLevel,
const std::string &  password,
const ChallengeRequest challengeRequest 
)
private

Definition at line 103 of file AuthenticationSecure.cpp.

◆ CreatePasswortHash()

PasswordHash visionary::AuthenticationSecure::CreatePasswortHash ( UserLevel  userLevel,
const std::string &  password,
const ChallengeRequest challengeRequest 
)
private

Definition at line 48 of file AuthenticationSecure.cpp.

◆ login()

bool visionary::AuthenticationSecure::login ( UserLevel  userLevel,
const std::string &  password 
)
virtual

Implements visionary::IAuthentication.

Definition at line 120 of file AuthenticationSecure.cpp.

◆ logout()

bool visionary::AuthenticationSecure::logout ( )
virtual

Implements visionary::IAuthentication.

Definition at line 183 of file AuthenticationSecure.cpp.

Member Data Documentation

◆ m_VisionaryControl

SafeVisionaryControl& visionary::AuthenticationSecure::m_VisionaryControl
private

Definition at line 48 of file AuthenticationSecure.h.


The documentation for this class was generated from the following files:


sick_safevisionary_base
Author(s):
autogenerated on Sat Oct 21 2023 02:24:26