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