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

◆ authorizeAsync() [2/2]

std::function< void()> Glacier2::SSLPermissionsVerifierPrx::authorizeAsync ( const SSLInfo & info,
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.

Parameters
infoThe SSL information.
responseThe response callback. It accepts:
  • returnValue true if access is granted, false otherwise.
  • reason The reason why access was denied.
exceptionThe exception callback.
sentThe sent callback.
contextThe request context.
Returns
A function that can be called to cancel the invocation locally.