Improved PWA options. Fully implemented auth

This commit is contained in:
Masu-Baumgartner
2024-10-02 16:31:23 +02:00
parent 522d0c1471
commit a0432eec68
17 changed files with 304 additions and 38 deletions

View File

@@ -1,3 +1,4 @@
using MoonCore.Attributes;
using MoonCore.Blazor.Tailwind.Services;
using MoonCore.Exceptions;
using MoonCore.Helpers;
@@ -5,6 +6,7 @@ using Moonlight.Shared.Http.Responses.Auth;
namespace Moonlight.Client.Services;
[Scoped]
public class IdentityService
{
public string Username { get; private set; }
@@ -40,7 +42,7 @@ public class IdentityService
IsLoggedIn = false;
}
await OnStateChanged();
//await OnStateChanged?.Invoke();
}
public async Task Login(string token)