A configuration used to specify cookie attributes for Sessions.
Specifies the host to which the cookie is sent.
Specifies a cookie encoding.
Allows you to add custom cookie attributes, which are not exposed explicitly. For example, you can pass the SameSite attribute in the following way:
Specifies the number of seconds until the cookie expires.
Enables transferring cookies via a secure connection only and protects session data from HTTPS downgrade attacks.
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.