@ Override public void onNewIntent ( Intent intent ) { super . onNewIntent ( intent ) ; // Verify OAuth callback Uri uri = intent . getData ( ) ; if ( uri != null && uri . getScheme ( ) . equals ( OAUTH_CALLBACK_SCHEME ) ) { String verifier = uri . getQueryParameter ( OAuth . OAUTH_VERIFIER ) ; new UpworkRetrieveAccessTokenTask ( ) . execute ( verifier ) ; } }
Callback once we are done with the authorization of this app