session

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

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.

Report a problem