SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

AuthPublicKey Event

This event is fired on public key authentication attempt from a client.

Syntax

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

Callback

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

function(e){ }

The argument 'e' has the following properties:

e.connectionID
e.username
e.accept

Remarks

Username specifies client's username, and Accept is used to accept or reject authentication.

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