Learn how to evaluate and integrate the VNC SDK
Viewer.AuthenticationCallback¶
-
class Viewer.AuthenticationCallback
¶ Callback receiving requests for authentication for a Viewer.
For more information, see
vnc_Viewer_AuthenticationCallback
in the C API documentation.
Nested classes¶
- Viewer.AuthenticationCallback.RequestUserCredentialsType
- Viewer.AuthenticationCallback.CancelUserCredentialsRequestType
Constructor summary
Modifier and Type | Method and Description |
---|---|
Initializes a new AuthenticationCallback class instance. |
Method summary
Modifier and Type | Method and Description |
---|---|
void |
Handles the RequestUserCredentials event.
By default, calls the |
void |
Handles the CancelUserCredentialsRequest event.
By default, calls the |
Constructors¶
-
Viewer.AuthenticationCallback
(Viewer.AuthenticationCallback.RequestUserCredentialsType requestUserCredentials = null, Viewer.AuthenticationCallback.CancelUserCredentialsRequestType cancelUserCredentialsRequest = null)¶ Initializes a new AuthenticationCallback class instance.
For more information, see
vnc_Viewer_AuthenticationCallback()
in the C API documentation.
Methods¶
-
void
Viewer.AuthenticationCallback.OnRequestUserCredentials
(Viewer viewer, Boolean needUser, Boolean needPasswd)¶ Handles the RequestUserCredentials event. By default, calls the
Viewer.AuthenticationCallback.RequestUserCredentials
delegate.
-
void
Viewer.AuthenticationCallback.OnCancelUserCredentialsRequest
(Viewer viewer)¶ Handles the CancelUserCredentialsRequest event. By default, calls the
Viewer.AuthenticationCallback.CancelUserCredentialsRequest
delegate.
Fields¶
-
Viewer.AuthenticationCallback.RequestUserCredentials
¶ Request for a username and/or password.
For more information, see
vnc_Viewer_AuthenticationCallback::requestUserCredentials
in the C API documentation.
-
Viewer.AuthenticationCallback.CancelUserCredentialsRequest
¶ Notification to cancel a username and/or password request.
For more information, see
vnc_Viewer_AuthenticationCallback::cancelUserCredentialsRequest
in the C API documentation.