session

inline fun <T : Any> AuthenticationConfig.session(name: String? = null)
fun <T : Any> AuthenticationConfig.session(name: String? = null, kClass: KClass<T>)
inline fun <T : Any> AuthenticationConfig.session(name: String? = null, noinline configure: SessionAuthenticationProvider.Config<T>.() -> Unit)

Installs the session Authentication provider. This provider provides the ability to authenticate a user that already has an associated session.

To learn how to configure the session provider, see Session authentication.