Skip to content

Commit

Permalink
Merge pull request #1430 from DavidKlempfner/patch-1
Browse files Browse the repository at this point in the history
Update AuthenticationOptions.cs
  • Loading branch information
josephdecock authored Nov 1, 2023
2 parents 23044ff + 2744e0f commit 8d9a907
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace Duende.IdentityServer.Configuration;
public class AuthenticationOptions
{
/// <summary>
/// Sets the cookie authentication scheme configured by the host used for interactive users. If not set, the scheme will inferred from the host's default authentication scheme.
/// Sets the cookie authentication scheme configured by the host used for interactive users. If not set, the scheme will be inferred from the host's default authentication scheme.
/// This setting is typically used when AddPolicyScheme is used in the host as the default scheme.
/// </summary>
public string? CookieAuthenticationScheme { get; set; }
Expand All @@ -26,7 +26,7 @@ public class AuthenticationOptions
public TimeSpan CookieLifetime { get; set; } = Constants.DefaultCookieTimeSpan;

/// <summary>
/// Specified if the cookie should be sliding or not (only effective if the built-in cookie middleware is used)
/// Specifies if the cookie should be sliding or not (only effective if the built-in cookie middleware is used)
/// </summary>
public bool CookieSlidingExpiration { get; set; } = false;

Expand Down Expand Up @@ -59,7 +59,7 @@ public class AuthenticationOptions
public SameSiteMode CheckSessionCookieSameSiteMode { get; set; } = SameSiteMode.None;

/// <summary>
/// If set, will require frame-src CSP headers being emitting on the end session callback endpoint which renders iframes to clients for front-channel sign out notification.
/// If set, will require frame-src CSP headers being emitted on the end session callback endpoint which renders iframes to clients for front-channel sign out notification.
/// </summary>
public bool RequireCspFrameSrcForSignout { get; set; } = true;

Expand Down

0 comments on commit 8d9a907

Please sign in to comment.