Glacier2.SSLPermissionsVerifier¶
- class Glacier2.SSLPermissionsVerifier¶
-
Represents an object that checks user permissions. The Glacier2 router and other services use an
Glacier2.SSLPermissionsVerifierPrxproxy when the user is authenticated through an SSL certificate.Notes
The Slice compiler generated this skeleton class from Slice interface
::Glacier2::SSLPermissionsVerifier.- abstractmethod authorize(info: SSLInfo, current: Current) tuple[bool, str] | Awaitable[tuple[bool, str]]¶
Checks if a user is authorized to establish a session.
- Parameters:
info (SSLInfo) – The SSL information.
current (Ice.Current) – The Current object for the dispatch.
- Returns:
- A tuple containing:
bool
trueif access is granted,falseotherwise.str The reason why access was denied.
- Return type:
- Raises:
PermissionDeniedException – Thrown when the user’s access is denied. This exception can be thrown instead of returning
falsewith a reason set in the reason out parameter.