Authorize Method
Performs user authorization and gets an access token.
Object Oriented Interface
public function doAuthorize();
Procedural Interface
secureblackbox_oauthclient_do_authorize($res);
Remarks
Call this method to perform user authorization and get an access token. When the user completes authorization and its data is sent to the server, OAuthClient will fire the Wait event periodically, to show how much waiting time is left. Upon successful authorization, the AccessToken and ExpiresAt properties are filled.
Returns true if the authorization was granted, and false otherwise.