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

@@ -0,0 +1,8 @@
namespace DotBased.ASP.Auth;
public interface ISessionStateProvider
{
public const string SessionStateName = "BasedServerSession";
public Task<Result<string>> GetSessionStateAsync();
public Task<Result> SetSessionStateAsync(string state);
}