SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

AuthPassword Event

This event is fired on password authentication attempt from a client.

Syntax

sftpserver.on('AuthPassword', [callback])

Callback

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

function(e){ }

The argument 'e' has the following properties:

e.connectionID
e.username
e.password
e.accept
e.forceChangePassword

Remarks

Parameters Username and Password contain user credentials. If they are correct, set Accept to true. You can request password change by setting ForceChangePassword to true.

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