Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

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

Constructor summary

Modifier and Type Method and Description

Viewer.AuthenticationCallback(Viewer.AuthenticationCallback.RequestUserCredentialsType, Viewer.AuthenticationCallback.CancelUserCredentialsRequestType)

Initializes a new AuthenticationCallback class instance.

Method summary

Modifier and Type Method and Description
void

Viewer.AuthenticationCallback.OnRequestUserCredentials(Viewer, Boolean, Boolean)

Handles the RequestUserCredentials event. By default, calls the RequestUserCredentials delegate.

void

Viewer.AuthenticationCallback.OnCancelUserCredentialsRequest(Viewer)

Handles the CancelUserCredentialsRequest event. By default, calls the CancelUserCredentialsRequest delegate.

Constructors

Viewer.AuthenticationCallback (Viewer.AuthenticationCallback.RequestUserCredentialsType a, Viewer.AuthenticationCallback.CancelUserCredentialsRequestType b)

Initializes a new AuthenticationCallback class instance.

For more information, see vnc_Viewer_AuthenticationCallback() in the C API documentation.

Methods

void Viewer.AuthenticationCallback.OnRequestUserCredentials (Viewer a, Boolean b, Boolean c)

Handles the RequestUserCredentials event. By default, calls the RequestUserCredentials delegate.

void Viewer.AuthenticationCallback.OnCancelUserCredentialsRequest (Viewer a)

Handles the CancelUserCredentialsRequest event. By default, calls the 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.

×