@using SteUp.Shared.Components.SingleElements.Modal.ExceptionModal @using SteUp.Shared.Core.BarcodeReader.Contracts @inject NavigationManager NavigationManager @inject IBarcodeManager BarcodeManager

Authorizing page

@if (context.User.Identity?.IsAuthenticated != true) { NavigationManager.NavigateTo("/login"); } else {

You are not authorized to access this resource.

}
@code { private ErrorBoundary? ErrorBoundary { get; set; } private ExceptionModal ExceptionModal { get; set; } = null!; protected override async Task OnInitializedAsync() { await SteupDataService.Init(); BarcodeManager.Init(); } }