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.