Wait Event
Fired periodically to show how much waiting time is left.
Syntax
public open class DefaultOauthclientEventListener : OauthclientEventListener { ... public override fun wait(e: OauthclientWaitEvent) {} ... } public class OauthclientWaitEvent { val timeLeft: Int var stop: Boolean }
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.