Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

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_user(server, connection, username, password)

Authenticate credentials presented by a Viewer.

bool

is_password_required(server, connection)

Decide if a connecting Viewer is required to provide a password.

bool

is_user_name_required(server, connection)

Decide if a connecting Viewer is required to provide a user name.

bool

verify_peer(server, connection, viewer_hex_fingerprint, viewer_rsa_public)

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:
Return type:

{vncsdk.Server.Permissions}

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:
Return type:

bool

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:
Return type:

bool

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:
Return type:

bool

×