session
inline fun <T : Principal> AuthenticationConfig.session(name: String? = null)
Content copied to clipboard
inline fun <T : Any> AuthenticationConfig.session(name: String? = null, configure: SessionAuthenticationProvider.Config<T>.() -> Unit)
Content copied to clipboard
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.