LowdbAdapter
このコンテンツはまだ日本語訳がありません。
Lowdb data adapter
- Usage:
const dataAdapter = new LowdbAdapter();
See
Implements
Properties
db
db:
Low
<OIDCClientSession
[]>
Database
Defined in
src/dataAdapters/LowdbAdapter.ts:26
options
options:
LowdbAdapterOptions
Options
Defined in
src/dataAdapters/LowdbAdapter.ts:28
Methods
close()
close():
Promise
<void
>
Returns
Promise
<void
>
Implementation of
Defined in
src/dataAdapters/LowdbAdapter.ts:112
delete()
delete(
sessionId
):Promise
<void
>
Parameters
• sessionId: string
Session ID
Returns
Promise
<void
>
Implementation of
Defined in
src/dataAdapters/LowdbAdapter.ts:99
fetch()
fetch(
sessionId
):null
|OIDCClientSession
Parameters
• sessionId: string
Session ID
Returns
null
| OIDCClientSession
Implementation of
Defined in
src/dataAdapters/LowdbAdapter.ts:63
insert()
insert(
session
):Promise
<void
>
Parameters
• session: OIDCClientSession
Session
Returns
Promise
<void
>
Implementation of
Defined in
src/dataAdapters/LowdbAdapter.ts:73
prune()
prune():
Promise
<void
>
Returns
Promise
<void
>
Implementation of
Defined in
src/dataAdapters/LowdbAdapter.ts:105
update()
update(
session
):Promise
<void
>
Parameters
• session: OIDCClientSession
Session
Returns
Promise
<void
>
Implementation of
Defined in
src/dataAdapters/LowdbAdapter.ts:84
factory()
static
factory(options
?):Promise
<LowdbAdapter
>
Parameters
• options?: Partial
<LowdbAdapterOptions
>
LokiFileAdapterOptions
Returns
Promise
<LowdbAdapter
>
LokiFileAdapter instance