code: public function authorizeOAuth($originUrl)
      {
          if ($originUrl !== 'bitbucket.org') {
              return false;
          }
  
          // if available use token from git config
          if (0 === $this->process->execute('git config bitbucket.accesstoken', $output)) {
              $this->io->setAuthentication($originUrl, 'x-token-auth', trim($output));
  
              return true;
          }
  
          return false;
      }
docs: Attempts to authorize a Bitbucket domain via OAuth
  
  @param  string $originUrl The host this Bitbucket instance is located at
  @return bool   true on success