CookieIdSessionBuilder

A configuration that allows you to configure additional cookie settings for Sessions, for example:

  • add cookie attributes;

  • sign and encrypt session data.

Properties

Link copied to clipboard

Gets a configuration used to specify additional cookie attributes for Sessions.

Link copied to clipboard

Specifies a serializer used to serialize session data.

Link copied to clipboard

A function used to provide a current session ID.

Link copied to clipboard

Gets transformers used to sign and encrypt session data.

Link copied to clipboard
val type: KClass<S>
Link copied to clipboard

Functions

Link copied to clipboard
fun identity(f: () -> String)

Registers a function used to generate a session ID.

Link copied to clipboard

Registers a transformer used to sign and encrypt session data.