SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

AuthAttempt Event

Fires when a connected client makes an authentication attempt.

Syntax

restserver.on('AuthAttempt', [callback])

Callback

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

function(e){ }

The argument 'e' has the following properties:

e.connectionID
e.username
e.password
e.allow

Remarks

The class fires this event whenever a client attempts to authenticate itself. Use the Allow parameter to let the client through.

ConnectionID contains the unique session identifier for that client, and Username and Password contain the professed credentials.

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