Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ checkPermissionsAsync() [1/2]

std::future< std::tuple< bool, std::string > > Glacier2::PermissionsVerifierPrx::checkPermissionsAsync ( std::string_view userId,
std::string_view password,
const Ice::Context & context = Ice::noExplicitContext ) const
nodiscard

Checks if a user is authorized to establish a session.

Parameters
userIdThe user ID.
passwordThe user's password.
contextThe request context.
Returns
A future that becomes available when the invocation completes. This future holds:
  • returnValue true if access is granted, false otherwise.
  • reason The reason why access was denied.