Skip to content

Instantly share code, notes, and snippets.

View kelvinzap's full-sized avatar

Onuoha kelvin kelvinzap

View GitHub Profile
<CascadingAuthenticationState>
<Router AppAssembly="typeof(App).Assembly">
<Found Context="routeData">
<AuthorizeRouteView RouteData="routeData" DefaultLayout="typeof(MainLayout)">
<Authorizing>
</Authorizing>
<NotAuthorized>
<RedirectToLogin />
</NotAuthorized>
</AuthorizeRouteView>