code: public function getResourceOwnerDetailsUrl(AccessToken $token)
      {
          $uri = new Uri($this->urlResourceOwnerDetails);
  
          return (string) Uri::withQueryValue($uri, 'access_token', (string) $token);
      }
docs: Get provider url to fetch user details
  
  @param  AccessToken $token
  
  @return string