SecureBlackbox Lite 2020 Node.js Edition

Questions / Feedback?

PasswordChangeRequest Event

This event is fired when a password change is requested.

Syntax

sshclient.on('PasswordChangeRequest', [callback])

Callback

The 'callback' is called when the 'PasswordChangeRequest' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.prompt
e.newPassword
e.cancel

Remarks

This event is fired by the class when a password change is requested by the server. Prompt contains the password prompt message. Handler should either provide the new password via NewPassword, or deny the request by setting Cancel to true.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox Lite 2020 Node.js Edition - Version 20.0 [Build 8166]