Added ISessionStateProvider interface & base implementation

This commit is contained in:
Max
2024-07-27 14:38:39 +02:00
parent c7d654a0ba
commit 2b17ed4cd7
9 changed files with 81 additions and 47 deletions

View File

@@ -1,5 +1,6 @@
using DotBased.ASP.Auth.Domains.Auth;
using DotBased.ASP.Auth.Domains.Identity;
using DotBased.Objects;
namespace DotBased.ASP.Auth;
@@ -32,7 +33,4 @@ public interface IAuthDataProvider
public Task<Result> UpdateAuthenticationStateAsync(AuthenticationStateModel authenticationState);
public Task<Result> DeleteAuthenticationStateAsync(AuthenticationStateModel authenticationState);
public Task<Result<AuthenticationStateModel>> GetAuthenticationStateAsync(string id);
// Authorization
}