SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

Wait Event

Fired periodically to show how much waiting time is left.

Syntax

oauthclient.on('Wait', [callback])

Callback

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

function(e){ }

The argument 'e' has the following properties:

e.timeLeft
e.stop

Remarks

This event is fired after authorization is started, to show how much time is left to wait for server's response. Waiting can be cancelled by setting the Stop parameter to true, which will result in authorization failure.

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