CookieConfiguration
class CookieConfiguration
A configuration used to specify cookie attributes for Sessions.
Properties
Link copied to clipboard
Specifies a cookie encoding.
Link copied to clipboard
Allows you to add custom cookie attributes, which are not exposed explicitly. For example, you can pass the SameSite
attribute in the following way:
Link copied to clipboard
Cookie time to live duration or null
for session cookies. Session cookies are client-driven. For example, a web browser usually removes session cookies at browser or window close unless the session is restored.
Link copied to clipboard
Specifies the number of seconds until the cookie expires.
Link copied to clipboard
Cookie configuration extension to supply the "SameSite" attribute for preventing cross-site request forgery (CSRF) attacks.