Learn how to evaluate and integrate the VNC SDK
Server.SecurityCallback¶
-
class Server.SecurityCallback¶ Callback receiving security-related notifications for a Server.
For more information, see
vnc_Server_SecurityCallbackin the C API documentation.
Nested classes¶
- Server.SecurityCallback.VerifyPeerType
- Server.SecurityCallback.IsUserNameRequiredType
- Server.SecurityCallback.IsPasswordRequiredType
- Server.SecurityCallback.AuthenticateUserType
Constructor summary
| Modifier and Type | Method and Description |
|---|---|
Initializes a new SecurityCallback class instance. |
Method summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
Handles the VerifyPeer event.
By default, calls the |
| Boolean |
Handles the IsUserNameRequired event.
By default, calls the |
| Boolean |
Handles the IsPasswordRequired event.
By default, calls the |
Server.Permissions |
Handles the AuthenticateUser event.
By default, calls the |
Constructors¶
-
Server.SecurityCallback(Server.SecurityCallback.VerifyPeerType verifyPeer = null, Server.SecurityCallback.IsUserNameRequiredType isUserNameRequired = null, Server.SecurityCallback.IsPasswordRequiredType isPasswordRequired = null, Server.SecurityCallback.AuthenticateUserType authenticateUser = null)¶ Initializes a new SecurityCallback class instance.
For more information, see
vnc_Server_SecurityCallback()in the C API documentation.
Methods¶
-
Boolean
Server.SecurityCallback.OnVerifyPeer(Server server, Connection connection, String viewerHexFingerprint, ImmutableDataBuffer viewerRsaPublic)¶ Handles the VerifyPeer event. By default, calls the
Server.SecurityCallback.VerifyPeerdelegate.
-
Boolean
Server.SecurityCallback.OnIsUserNameRequired(Server server, Connection connection)¶ Handles the IsUserNameRequired event. By default, calls the
Server.SecurityCallback.IsUserNameRequireddelegate.
-
Boolean
Server.SecurityCallback.OnIsPasswordRequired(Server server, Connection connection)¶ Handles the IsPasswordRequired event. By default, calls the
Server.SecurityCallback.IsPasswordRequireddelegate.
-
Server.Permissions
Server.SecurityCallback.OnAuthenticateUser(Server server, Connection connection, String username, String password)¶ Handles the AuthenticateUser event. By default, calls the
Server.SecurityCallback.AuthenticateUserdelegate.
Fields¶
-
Server.SecurityCallback.VerifyPeer¶ Verify a Viewer’s cryptographic identity.
For more information, see
vnc_Server_SecurityCallback::verifyPeerin the C API documentation.
-
Server.SecurityCallback.IsUserNameRequired¶ Decide if a connecting Viewer is required to provide a user name.
For more information, see
vnc_Server_SecurityCallback::isUserNameRequiredin the C API documentation.
-
Server.SecurityCallback.IsPasswordRequired¶ Decide if a connecting Viewer is required to provide a password.
For more information, see
vnc_Server_SecurityCallback::isPasswordRequiredin the C API documentation.
-
Server.SecurityCallback.AuthenticateUser¶ Authenticate credentials presented by a Viewer.
For more information, see
vnc_Server_SecurityCallback::authenticateUserin the C API documentation.