#include <UserProfile.hpp>
◆ UserProfile() [1/4]
iv::diamar::UserProfile::UserProfile |
( |
| ) |
|
◆ UserProfile() [2/4]
◆ UserProfile() [3/4]
iv::diamar::UserProfile::UserProfile |
( |
const UserProfile & | userProfile | ) |
|
◆ UserProfile() [4/4]
iv::diamar::UserProfile::UserProfile |
( |
UserProfile && | other | ) |
|
|
deletenoexcept |
◆ ~UserProfile()
iv::diamar::UserProfile::~UserProfile |
( |
| ) |
|
|
default |
◆ blockUser()
void iv::diamar::UserProfile::blockUser |
( |
| ) |
const |
◆ canChangePassword()
bool iv::diamar::UserProfile::canChangePassword |
( |
std::string * | reasonMsg | ) |
const |
|
nodiscard |
◆ canPermitAlarmAck()
bool iv::diamar::UserProfile::canPermitAlarmAck |
( |
| ) |
const |
|
nodiscard |
◆ getDecipheredPassword()
std::string iv::diamar::UserProfile::getDecipheredPassword |
( |
| ) |
const |
|
nodiscard |
◆ getIconUser()
std::string iv::diamar::UserProfile::getIconUser |
( |
| ) |
const |
|
nodiscard |
◆ getMaxTimeInProfile()
Get how much time the user can be logged in in seconds.
- Returns
- The time in seconds.
◆ getPassword()
std::string iv::diamar::UserProfile::getPassword |
( |
| ) |
const |
|
nodiscard |
◆ getProfileUserInArea()
◆ getProfileUserInAreaWithAccess()
◆ getRemainingBlockTime()
void iv::diamar::UserProfile::getRemainingBlockTime |
( |
uint32_t & | hoursLeft, |
|
|
uint32_t & | minutesLeft, |
|
|
uint32_t & | secondsLeft ) const |
◆ getRemainingBlockTimeStr()
std::string iv::diamar::UserProfile::getRemainingBlockTimeStr |
( |
| ) |
const |
|
nodiscard |
◆ getRemainingLoginAttempts()
uint32_t iv::diamar::UserProfile::getRemainingLoginAttempts |
( |
| ) |
const |
|
nodiscard |
◆ getType()
◆ getTypeStr()
std::string iv::diamar::UserProfile::getTypeStr |
( |
| ) |
const |
|
nodiscard |
◆ hasPermissionAccessControl()
bool iv::diamar::UserProfile::hasPermissionAccessControl |
( |
iv::model::eShipArea | areaStationAlarm | ) |
const |
|
nodiscard |
◆ hasPermissionAck()
◆ hasPermissionChangeParameters()
◆ hasPermissionChangeVariablesOnline()
bool iv::diamar::UserProfile::hasPermissionChangeVariablesOnline |
( |
iv::model::eShipArea | areaShip | ) |
const |
|
nodiscard |
◆ isBlocked()
bool iv::diamar::UserProfile::isBlocked |
( |
| ) |
const |
|
nodiscard |
◆ isEnabled()
bool iv::diamar::UserProfile::isEnabled |
( |
| ) |
const |
|
nodiscard |
◆ isNotifiedAlarm()
bool iv::diamar::UserProfile::isNotifiedAlarm |
( |
iv::model::eShipArea | areaShip, |
|
|
uint64_t | areaStationAlarm ) const |
|
nodiscard |
◆ isNotifiedByZoneRepeaters()
◆ isPasswordCorrect()
bool iv::diamar::UserProfile::isPasswordCorrect |
( |
const std::string & | password | ) |
const |
|
nodiscard |
◆ isPasswordExpired()
bool iv::diamar::UserProfile::isPasswordExpired |
( |
| ) |
const |
|
nodiscard |
◆ isRoot()
bool iv::diamar::UserProfile::isRoot |
( |
| ) |
const |
|
nodiscard |
◆ load()
◆ mustChangePassword()
bool iv::diamar::UserProfile::mustChangePassword |
( |
| ) |
const |
|
nodiscard |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ registerFailedLoginAttempt()
void iv::diamar::UserProfile::registerFailedLoginAttempt |
( |
| ) |
const |
◆ registerLoginAttemptInBlockedProfile()
void iv::diamar::UserProfile::registerLoginAttemptInBlockedProfile |
( |
| ) |
const |
◆ registerSuccessfulLoginAttempt()
void iv::diamar::UserProfile::registerSuccessfulLoginAttempt |
( |
| ) |
const |
◆ resetFailedLoginAttemptsCounter()
void iv::diamar::UserProfile::resetFailedLoginAttemptsCounter |
( |
| ) |
const |
◆ save()
◆ setActive()
void iv::diamar::UserProfile::setActive |
( |
bool | isActive | ) |
|
◆ setPassword()
void iv::diamar::UserProfile::setPassword |
( |
const std::string & | newPassword, |
|
|
bool | mustBeChanged ) |
◆ setPasswordAndMaxTime()
◆ shouldBeNotifiedForPasswordChange()
bool iv::diamar::UserProfile::shouldBeNotifiedForPasswordChange |
( |
iv::types::timestamp & | remainingTime | ) |
const |
|
nodiscard |
◆ unBlockUser()
void iv::diamar::UserProfile::unBlockUser |
( |
| ) |
const |
◆ update()
void iv::diamar::UserProfile::update |
( |
const UserProfile & | other | ) |
|
◆ m_enabled
bool iv::diamar::UserProfile::m_enabled |
◆ m_loginAttemptsProperties
◆ m_maxTimeInProfile
◆ m_password
std::string iv::diamar::UserProfile::m_password |
◆ m_passwordProperties
◆ m_type
The documentation for this class was generated from the following files: