SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

AuthStart Event

Signifies the start of an authentication process.

Syntax

authenticator.on('AuthStart', [callback])

Callback

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

function(e){ }

The argument 'e' has the following properties:

e.userID
e.authMethods

Remarks

This event is fired in response to a StartAuth call, and signifies the start of a (potentially, multi-step) authentication process for UserID. The AuthMethods parameter list the methods to be performed for the user. The application may customize them as needed.

The following default authentication methods are supported:

  • password
  • otp-h
  • otp-t
  • dcauth

The application can define its own authentication methods if needed.

This event is only fired once per user authentication process, at the very start of it. See AuthAttemptStart for per-step notification.

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