- Moves authentication back to a /Authenticate page route - Flatten the namespaces of page components - Implement top-level layouts as windows - Move handling of redirecting to /Authenticate with component inside of an AuthenticatedLayout - Use individiual injected services instead of SDK.Client - Wipe out tokens on logout - Process logout even if server can't be reached
12 lines
No EOL
282 B
Text
12 lines
No EOL
282 B
Text
@using LANCommander.Launcher.UI.Windows
|
|
@inherits LayoutComponentBase
|
|
@layout MainWindow
|
|
|
|
<AuthenticatedView NoAutoValidate="false">
|
|
<Authenticated>
|
|
@Body
|
|
</Authenticated>
|
|
<NotAuthenticated>
|
|
<RedirectToLogin/>
|
|
</NotAuthenticated>
|
|
</AuthenticatedView> |