SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

AuthAttemptStart Event

Signifies the start of an authentication attempt.

Syntax

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

Callback

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

function(e){ }

The argument 'e' has the following properties:

e.userID
e.authMethod
e.remainingAuthMethods

Remarks

This event reports the start of an atomic authentication step. The AuthMethod parameter contains the authentication method that has started. The following authentication methods are currently supported, but the application may define its own methods in AuthStart, and tune them up in CustomAuthStart:

  • password
  • otp-h
  • otp-t
  • dcauth
RemainingAuthMethods contains a list of authentication methods that will follow.

This event is thrown from StartAuth and ContinueAuth methods.

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