std::function< void()> Glacier2::PermissionsVerifierPrx::checkPermissionsAsync | ( | std::string_view | userId, |
std::string_view | password, | ||
std::function< void(bool, std::string)> | response, | ||
std::function< void(std::exception_ptr)> | exception = nullptr, | ||
std::function< void(bool)> | sent = nullptr, | ||
const Ice::Context & | context = Ice::noExplicitContext ) const |
Checks if a user is authorized to establish a session.
userId | The user ID. |
password | The user's password. |
response | The response callback. It accepts:
|
exception | The exception callback. |
sent | The sent callback. |
context | The request context. |