Working base login

This commit is contained in:
max
2024-11-02 01:57:25 +01:00
parent d98634d888
commit 8531079a16
10 changed files with 217 additions and 163 deletions

View File

@@ -21,6 +21,10 @@ public class BasedAuthConfiguration
/// </summary>
public string LogoutPath { get; set; } = string.Empty;
/// <summary>
/// The page that the client will be redirected to after logging out.
/// </summary>
public string LoggedOutPath { get; set; } = string.Empty;
/// <summary>
/// The max age before a AuthenticationState will expire (default: 7 days).
/// </summary>
public TimeSpan AuthenticationStateMaxAgeBeforeExpire { get; set; } = TimeSpan.FromDays(7);