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_SecurityCallback
in 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.VerifyPeer
delegate.
-
Boolean
Server.SecurityCallback.OnIsUserNameRequired
(Server server, Connection connection)¶ Handles the IsUserNameRequired event. By default, calls the
Server.SecurityCallback.IsUserNameRequired
delegate.
-
Boolean
Server.SecurityCallback.OnIsPasswordRequired
(Server server, Connection connection)¶ Handles the IsPasswordRequired event. By default, calls the
Server.SecurityCallback.IsPasswordRequired
delegate.
-
Server.Permissions
Server.SecurityCallback.OnAuthenticateUser
(Server server, Connection connection, String username, String password)¶ Handles the AuthenticateUser event. By default, calls the
Server.SecurityCallback.AuthenticateUser
delegate.
Fields¶
-
Server.SecurityCallback.VerifyPeer
¶ Verify a Viewer’s cryptographic identity.
For more information, see
vnc_Server_SecurityCallback::verifyPeer
in 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::isUserNameRequired
in 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::isPasswordRequired
in the C API documentation.
-
Server.SecurityCallback.AuthenticateUser
¶ Authenticate credentials presented by a Viewer.
For more information, see
vnc_Server_SecurityCallback::authenticateUser
in the C API documentation.