20 lines
709 B
Plaintext
20 lines
709 B
Plaintext
<CascadingAuthenticationState>
|
|
<Router AppAssembly="typeof(Program).Assembly" Context="routeData">
|
|
<Found>
|
|
<AuthorizeRouteView RouteData="routeData" DefaultLayout="typeof(MainLayout)">
|
|
<NotAuthorized>
|
|
<RedirectToLogin />
|
|
</NotAuthorized>
|
|
<Authorizing>
|
|
<div class="main">Bitte warten...</div>
|
|
</Authorizing>
|
|
</AuthorizeRouteView>
|
|
</Found>
|
|
<NotFound>
|
|
<LayoutView Layout="typeof(MainLayout)">
|
|
<div class="main">Nichts gefunden</div>
|
|
</LayoutView>
|
|
</NotFound>
|
|
</Router>
|
|
</CascadingAuthenticationState>
|