Lines Matching full:users
19 #include "users.hpp"
65 * @param[in] groups - users group list
70 Users::Users(sdbusplus::bus_t& bus, const char* path, in Users() function in phosphor::user::Users
82 Users::~Users() in ~Users()
90 void Users::delete_(void) in delete_()
99 std::string Users::userPrivilege(std::string value) in userPrivilege()
109 void Users::setUserPrivilege(const std::string& value) in setUserPrivilege()
114 void Users::setUserGroups(const std::vector<std::string>& groups) in setUserGroups()
122 std::string Users::userPrivilege(void) const in userPrivilege()
131 std::vector<std::string> Users::userGroups(std::vector<std::string> value) in userGroups()
145 std::vector<std::string> Users::userGroups(void) const in userGroups()
153 bool Users::userEnabled(void) const in userEnabled()
158 void Users::setUserEnabled(bool value) in setUserEnabled()
167 bool Users::userEnabled(bool value) in userEnabled()
180 bool Users::userLockedForFailedAttempt(void) const in userLockedForFailedAttempt()
189 bool Users::userLockedForFailedAttempt(bool value) in userLockedForFailedAttempt()
204 bool Users::userPasswordExpired(void) const in userPasswordExpired()
226 bool Users::checkMfaStatus() const in checkMfaStatus()
231 std::string Users::createSecretKey() in createSecretKey()
276 bool Users::verifyOTP(std::string otp) in verifyOTP()
311 static void clearGoogleAuthenticator(Users& thisp) in clearGoogleAuthenticator()
316 static std::map<MultiFactorAuthType, std::function<void(Users&)>>
319 {MultiFactorAuthType::None, [](Users&) {}}}; in __anon90507c8b0102() argument
321 MultiFactorAuthType Users::bypassedProtocol(MultiFactorAuthType value, in bypassedProtocol()
336 bool Users::secretKeyIsValid() const in secretKeyIsValid()
342 inline void googleAuthenticatorEnabled(Users& user, bool /*unused*/) in googleAuthenticatorEnabled()
346 static std::map<MultiFactorAuthType, std::function<void(Users&, bool)>>
349 {MultiFactorAuthType::None, [](Users&, bool) {}}}; in __anon90507c8b0202() argument
351 void Users::enableMultiFactorAuth(MultiFactorAuthType type, bool value) in enableMultiFactorAuth()
359 bool Users::secretKeyGenerationRequired() const in secretKeyGenerationRequired()
363 void Users::clearSecretKey() in clearSecretKey()
372 void Users::load(JsonSerializer& ts) in load()