Ice 3.8
Slice API Reference
Loading...
Searching...
No Matches

◆ authorize()

["cpp:const"]
idempotent bool authorize ( SSLInfo info,
out string reason ) throws PermissionDeniedException

Checks if a user is authorized to establish a session.

Parameters
infoThe SSL information.
reasonThe reason why access was denied.
Returns
true if access is granted, false otherwise.
Exceptions
PermissionDeniedExceptionThrown when the user's access is denied. This exception can be thrown instead of returning false with a reason set in the reason out parameter.