Wait Event
Fired periodically to show how much waiting time is left.
Syntax
typedef struct { int TimeLeft; bool Stop; } TsbxOAuthClientWaitEventParams; typedef void __fastcall (__closure *TsbxOAuthClientWaitEvent)(System::TObject* Sender, TsbxOAuthClientWaitEventParams *e); __property TsbxOAuthClientWaitEvent OnWait = { read=FOnWait, write=FOnWait };
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.