Preparing search index...
The search index is not available
svelte-starter-docs
svelte-starter-docs
lib/middleware/sessions
destroySession
Function destroySession
destroySession
(
lucia
:
Lucia
<
Record
<
never
,
never
>
,
Record
<
never
,
never
>
>
,
cookies
:
Cookies
,
)
:
void
Destroys the current session for the given user
Parameters
lucia
:
Lucia
<
Record
<
never
,
never
>
,
Record
<
never
,
never
>
>
The Lucia instance to use
cookies
:
Cookies
The cookies to use
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Source Code
svelte-starter-docs
Loading...
Destroys the current session for the given user