pan> <span class="nx">BearerTokenFetchClient</span> <span class="p">}</span> <span class="nx">from</span> <span class="s2">&quot;@pnp/core&quot;</span><span class="p">;</span>

<span class="kr">const</span> <span class="nx">client</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">BearerTokenFetchClient</span><span class="p">(</span><span class="s2">&quot;{authentication token}&quot;</span><span class="p">);</span>

<span class="nx">client</span><span class="p">.</span><span class="