authorize Method
Performs user authorization and gets an access token.
Syntax
def authorize() -> bool: ...
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 on_wait event periodically, to show how much waiting time is left. Upon successful authorization, the access_token and expires_at properties are filled.
Returns true if the authorization was granted, and false otherwise.