Wait Event
Fired periodically to show how much waiting time is left.
Syntax
public class DefaultOauthclientEventListener implements OauthclientEventListener { ... public void wait(OauthclientWaitEvent e) {} ... } public class OauthclientWaitEvent { public int timeLeft; public boolean 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.