コンテンツにスキップ

SQLiteAdapter

このコンテンツはまだ日本語訳がありません。

SQLite data adapter

  • Usage: const dataAdapter = new SQLiteAdapter();

See

Bun SQLite3 driver

Implements

Constructors

new SQLiteAdapter()

new SQLiteAdapter(options?): SQLiteAdapter

Parameters

options?: Partial<SQLiteAdapterOptions>

Returns

SQLiteAdapter

Defined in

src/dataAdapters/SQLiteAdapter.ts:60

Properties

db

db: Database

Database

Defined in

src/dataAdapters/SQLiteAdapter.ts:45


options

options: SQLiteAdapterOptions

Options

Defined in

src/dataAdapters/SQLiteAdapter.ts:47

Methods

close()

close(): void

Close the database

Returns

void

Implementation of

OIDCClientDataAdapter.close

Defined in

src/dataAdapters/SQLiteAdapter.ts:236


delete()

delete(sessionId): void

Delete the session

Parameters

sessionId: string

Session ID

Returns

void

Implementation of

OIDCClientDataAdapter.delete

Defined in

src/dataAdapters/SQLiteAdapter.ts:226


fetch()

fetch(sessionId): null | OIDCClientSession

Find the session

Parameters

sessionId: string

Session ID

Returns

null | OIDCClientSession

Implementation of

OIDCClientDataAdapter.fetch

Defined in

src/dataAdapters/SQLiteAdapter.ts:201


insert()

insert(session): void

Insert the session

Parameters

session: OIDCClientSession

Session

Returns

void

Implementation of

OIDCClientDataAdapter.insert

Defined in

src/dataAdapters/SQLiteAdapter.ts:210


prune()

prune(): void

Prune expired session

Returns

void

Implementation of

OIDCClientDataAdapter.prune

Defined in

src/dataAdapters/SQLiteAdapter.ts:231


update()

update(session): void

Update the session

Parameters

session: OIDCClientSession

Session

Returns

void

Implementation of

OIDCClientDataAdapter.update

Defined in

src/dataAdapters/SQLiteAdapter.ts:218