Skip to content

Commit 8c687fc

Browse files
Update CookieAuthenticationOptions XML documentation to clarify ExpireTimeSpan usage (dotnet#64122)
* Initial plan * Update ExpireTimeSpan XML documentation to clarify usage Co-authored-by: MackinnonBuck <[email protected]> * Simplify documentation for `ExpireTimeSpan` property * Update XML docs * Use CookieBuilder.Expiration instead of CookieOptions.Expires in XML documentation Co-authored-by: MackinnonBuck <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: MackinnonBuck <[email protected]> Co-authored-by: Mackinnon Buck <[email protected]>
1 parent 5b64506 commit 8c687fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Security/Authentication/Cookies/src/CookieAuthenticationOptions.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ public CookieBuilder Cookie
128128
/// even if it is passed to the server after the browser should have purged it.
129129
/// </para>
130130
/// <para>
131-
/// This is separate from the value of <see cref="CookieOptions.Expires"/>, which specifies
132-
/// how long the browser will keep the cookie.
131+
/// This property should be used instead of <see cref="CookieBuilder.Expiration"/>, which is ignored.
133132
/// </para>
134133
/// </summary>
135134
public TimeSpan ExpireTimeSpan { get; set; }

0 commit comments

Comments
 (0)