pan> <span class="tsd-signature-type">string</span>)</div><div class="tsd-comment tsd-typography"><pre><code class="js"><span class="hl-0">withAuthenticationRequired</span><span class="hl-1">(</span><span class="hl-5">Profile</span><span class="hl-1">, {</span><br/><span class="hl-1">  </span><span class="hl-5">returnTo:</span><span class="hl-1"> </span><span class="hl-2">&#39;/profile&#39;</span><br/><span class="hl-1">})</span>
</code><button type="button">Copy</button></pre>

<p>or</p>
<pre><code class="