Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

Viewer.AuthenticationCallback

vncsdk.Viewer.AuthenticationCallback

Callback receiving requests for authentication for a Viewer.

Method Summary

Modifier and Type Method and Description

cancel_user_credentials_request(viewer)

Notification to cancel a username and/or password request.

request_user_credentials(viewer, need_user, need_passwd)

Request for a username and/or password.

Methods

Viewer.AuthenticationCallback.cancel_user_credentials_request(viewer)

Notification to cancel a username and/or password request.

For more information, see vnc_Viewer_AuthenticationCallback::cancelUserCredentialsRequest.

Parameters:viewer (vncsdk.Viewer) –
Returns:None
Viewer.AuthenticationCallback.request_user_credentials(viewer, need_user, need_passwd)

Request for a username and/or password.

For more information, see vnc_Viewer_AuthenticationCallback::requestUserCredentials.

Parameters:
  • viewer (vncsdk.Viewer) –
  • need_user (bool) –
  • need_passwd (bool) –
Returns:

None

×