Represents an object that checks user permissions. More...
#include <Glacier2/Glacier2.h>
Public Member Functions | |
PermissionsVerifierPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString) | |
Constructs a proxy from a Communicator and a proxy string. | |
PermissionsVerifierPrx (const PermissionsVerifierPrx &other) noexcept | |
Copy constructor. | |
PermissionsVerifierPrx (PermissionsVerifierPrx &&other) noexcept | |
Move constructor. | |
bool | checkPermissions (std::string_view userId, std::string_view password, std::string &reason, const Ice::Context &context=Ice::noExplicitContext) const |
Checks if a user is authorized to establish a session. | |
std::future< std::tuple< bool, std::string > > | checkPermissionsAsync (std::string_view userId, std::string_view password, const Ice::Context &context=Ice::noExplicitContext) const |
Checks if a user is authorized to establish a session. | |
std::function< void()> | 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. | |
PermissionsVerifierPrx & | operator= (const PermissionsVerifierPrx &rhs) noexcept |
Copy assignment operator. | |
PermissionsVerifierPrx & | operator= (PermissionsVerifierPrx &&rhs) noexcept |
Move assignment operator. | |
Public Member Functions inherited from Ice::Proxy< PermissionsVerifierPrx, Ice::ObjectPrx > | |
PermissionsVerifierPrx | ice_adapterId (std::string id) const |
Creates a proxy that is identical to this proxy, except for the adapter ID. | |
PermissionsVerifierPrx | ice_batchDatagram () const |
Creates a proxy that is identical to this proxy, but uses batch datagram invocations. | |
PermissionsVerifierPrx | ice_batchOneway () const |
Creates a proxy that is identical to this proxy, but uses batch oneway invocations. | |
PermissionsVerifierPrx | ice_collocationOptimized (bool b) const |
Creates a proxy that is identical to this proxy, except for collocation optimization. | |
PermissionsVerifierPrx | ice_compress (bool b) const |
Creates a proxy that is identical to this proxy, except for its compression setting which overrides the compression setting from the proxy endpoints. | |
PermissionsVerifierPrx | ice_connectionCached (bool b) const |
Creates a proxy that is identical to this proxy, except for connection caching. | |
PermissionsVerifierPrx | ice_connectionId (std::string id) const |
Creates a proxy that is identical to this proxy, except for its connection ID. | |
PermissionsVerifierPrx | ice_context (Context context) const |
Creates a proxy that is identical to this proxy, except for the per-proxy context. | |
PermissionsVerifierPrx | ice_datagram () const |
Creates a proxy that is identical to this proxy, but uses datagram invocations. | |
PermissionsVerifierPrx | ice_encodingVersion (EncodingVersion version) const |
Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters. | |
PermissionsVerifierPrx | ice_endpoints (EndpointSeq endpoints) const |
Creates a proxy that is identical to this proxy, except for the endpoints. | |
PermissionsVerifierPrx | ice_endpointSelection (EndpointSelectionType type) const |
Creates a proxy that is identical to this proxy, except for the endpoint selection policy. | |
PermissionsVerifierPrx | ice_fixed (ConnectionPtr connection) const |
Creates a proxy that is identical to this proxy, except it's a fixed proxy bound to the given connection. | |
PermissionsVerifierPrx | ice_invocationTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the invocation timeout. | |
PermissionsVerifierPrx | ice_locator (const std::optional< LocatorPrx > &locator) const |
Creates a proxy that is identical to this proxy, except for the locator. | |
PermissionsVerifierPrx | ice_locatorCacheTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the locator cache timeout. | |
PermissionsVerifierPrx | ice_oneway () const |
Creates a proxy that is identical to this proxy, but uses oneway invocations. | |
PermissionsVerifierPrx | ice_router (const std::optional< RouterPrx > &router) const |
Creates a proxy that is identical to this proxy, except for the router. | |
PermissionsVerifierPrx | ice_twoway () const |
Creates a proxy that is identical to this proxy, but uses twoway invocations. | |
const PermissionsVerifierPrx * | operator-> () const noexcept |
The arrow operator. |
Static Public Member Functions | |
static const char * | ice_staticId () noexcept |
Gets the type ID of the associated Slice interface. |
Represents an object that checks user permissions.
The Glacier2 router and other services use a PermissionsVerifierPrx proxy when the user is authenticated using a user ID and password.
Definition at line 43 of file PermissionsVerifier.h.