code: private void handleResponse(@NonNull Uri uri) {
          if (AuthUtils.isAuthorizationCodePresent(uri)) {
              onCodeReceived(uri);
          } else {
              handleAccessTokenResponse(uri);
          }
      }
docs: Handler for both AccessToken and AuthorizationCode redirects.
  
  @param uri The redirect Uri.