in the middle of relearning msal
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
@*<CascadingAuthenticationState>*@
|
||||
<CascadingAuthenticationState>
|
||||
|
||||
<Router AppAssembly="@typeof(App).Assembly">
|
||||
<Found Context="routeData">
|
||||
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
|
||||
@*<AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)">
|
||||
<AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)">
|
||||
<Authorizing>
|
||||
Authorizing!!
|
||||
</Authorizing>
|
||||
@@ -17,7 +17,7 @@
|
||||
<p role="alert">You are not authorized to access this resource.</p>
|
||||
}
|
||||
</NotAuthorized>
|
||||
</AuthorizeRouteView>*@
|
||||
</AuthorizeRouteView>
|
||||
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
|
||||
</Found>
|
||||
<NotFound>
|
||||
@@ -28,4 +28,4 @@
|
||||
</NotFound>
|
||||
</Router>
|
||||
|
||||
@*</CascadingAuthenticationState>*@
|
||||
</CascadingAuthenticationState>
|
||||
|
||||
Reference in New Issue
Block a user