Poco::OSP::Auth::AuthAdminService

struct ValidateUserEvent

File Information

Library: OSP/Auth
Package: Auth
Header: Poco/OSP/Auth/AuthAdminService.h

Variables

attributes

std::map < std::string, std::string > attributes;

Attributes of user to validate.

username

std::string username;

User name of user to validate.

valid

bool valid;

True if the account is valid, otherwise false.

Will be set to true when the event is fired. Event handler can set to false to disable the user account. In this case, authenticate() and userEnabled() will return false.