Audit Service

This commit is contained in:
Andre Beging
2022-05-23 10:29:10 +02:00
parent 5961c06004
commit 5d713db83f
14 changed files with 552 additions and 49 deletions

View File

@@ -13,8 +13,7 @@ namespace FoodsharingSiegen.Server.Auth
/// <summary>
/// The auth service class (a. beging, 04.04.2022)
/// </summary>
/// <seealso cref="ServiceBase"/>
public class AuthService : ServiceBase
public class AuthService
{
#region Public Properties
@@ -25,6 +24,15 @@ namespace FoodsharingSiegen.Server.Auth
#endregion
#region Private Properties
/// <summary>
/// Gets the value of the context (ab)
/// </summary>
private FsContext Context { get; }
#endregion
#region Private Fields
/// <summary>
@@ -55,8 +63,9 @@ namespace FoodsharingSiegen.Server.Auth
public AuthService(
FsContext context,
LocalStorageService localStorageService,
AuthenticationStateProvider authenticationStateProvider) : base(context)
AuthenticationStateProvider authenticationStateProvider)
{
Context = context;
_localStorageService = localStorageService;
_authenticationStateProvider = authenticationStateProvider;
}