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.