Optional
loadingComponent to render while loading/authenticating.
<div
class="flex h-full min-h-[calc(100dvh-4rem)] w-full flex-col items-center justify-center px-4 pb-16"
>
<h1 class="mt-5 text-3xl md:text-5xl">Authenticating...</h1>
</div>
Condition to pass the authorization check.
Optional
redirect?: stringRedirect to this path if the user is not authorized.
'/'
Generated using TypeDoc v0.25.2
Authorization wrapper.
Example