SessionTransportType
Configures how the authentication scheme transports session data.
Type Parameters
S
the stored session type.
Inheritors
Types
Link copied to clipboard
Passes the serialized session in a cookie.
Link copied to clipboard
class CookieId<S : Any>(val storage: SessionStorage, val block: CookieIdSessionBuilder<S>.() -> Unit = {}) : SessionTransportType<S>
Passes a session identifier in a cookie and stores session data on the server.
Link copied to clipboard
Passes the serialized session in a header.
Link copied to clipboard
class HeaderId<S : Any>(val storage: SessionStorage, val block: HeaderIdSessionBuilder<S>.() -> Unit = {}) : SessionTransportType<S>
Passes a session identifier in a header and stores session data on the server.