create

abstract fun create(context: Context, details: SessionDetails)

Establishes a session for details on the current request.

Call from your login handler after verifying credentials. May rotate/replace any pre-existing session id to mitigate session fixation, depending on the implementation.