Implementing ASP auth module

This commit is contained in:
Max
2024-07-07 17:41:54 +02:00
parent d07d0f8a9d
commit de656cc2e8
18 changed files with 208 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
using DotBased.Logging;
using Microsoft.AspNetCore.Components.Authorization;
namespace DotBased.ASP.Auth;
public class BasedAuthenticationStateProvider : AuthenticationStateProvider
{
public BasedAuthenticationStateProvider()
{
_logger = LogService.RegisterLogger(typeof(BasedAuthenticationStateProvider));
}
private ILogger _logger;
public override Task<AuthenticationState> GetAuthenticationStateAsync()
{
throw new NotImplementedException();
}
}