Added ISessionStateProvider interface & base implementation
This commit is contained in:
8
DotBased.ASP.Auth/ISessionStateProvider.cs
Normal file
8
DotBased.ASP.Auth/ISessionStateProvider.cs
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user