Learn how to evaluate and integrate the VNC SDK
Server.SecurityCallback¶
-
vncsdk.Server.SecurityCallback¶ Callback receiving security-related notifications for a Server.
Method Summary¶
| Modifier and Type | Method and Description |
|---|---|
{vncsdk.Server.Permissions} |
Authenticate credentials presented by a Viewer. |
| bool |
Decide if a connecting Viewer is required to provide a password. |
| bool |
Decide if a connecting Viewer is required to provide a user name. |
| bool |
Verify a Viewer’s cryptographic identity. |
Methods¶
-
Server.SecurityCallback.authenticate_user(server, connection, username, password)¶ Authenticate credentials presented by a Viewer.
For more information, see
vnc_Server_SecurityCallback::authenticateUser.Parameters: - server (
vncsdk.Server) – - connection (
vncsdk.Connection) – - username (str or None) –
- password (str or None) –
Return type: - server (
-
Server.SecurityCallback.is_password_required(server, connection)¶ Decide if a connecting Viewer is required to provide a password.
For more information, see
vnc_Server_SecurityCallback::isPasswordRequired.Parameters: - server (
vncsdk.Server) – - connection (
vncsdk.Connection) –
Return type: bool
- server (
-
Server.SecurityCallback.is_user_name_required(server, connection)¶ Decide if a connecting Viewer is required to provide a user name.
For more information, see
vnc_Server_SecurityCallback::isUserNameRequired.Parameters: - server (
vncsdk.Server) – - connection (
vncsdk.Connection) –
Return type: bool
- server (
-
Server.SecurityCallback.verify_peer(server, connection, viewer_hex_fingerprint, viewer_rsa_public)¶ Verify a Viewer’s cryptographic identity.
For more information, see
vnc_Server_SecurityCallback::verifyPeer.Parameters: - server (
vncsdk.Server) – - connection (
vncsdk.Connection) – - viewer_hex_fingerprint (str or None) –
- viewer_rsa_public (
vncsdk.DataBuffer) –
Return type: bool
- server (