SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

PasswordChangeRequest Event

Signals that the server requests a password change.

Syntax

sftpclient.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

The class fires this event to pass the password change request from the server to the application. This event is fired during the SSH handshake.

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