SQLiteAdapter
SQLite data adapter
- Usage:
const dataAdapter = new SQLiteAdapter();
See
Implements
Constructors
new SQLiteAdapter()
new SQLiteAdapter(
options
?):SQLiteAdapter
Parameters
• options?: Partial
<SQLiteAdapterOptions
>
Returns
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
Defined in
src/dataAdapters/SQLiteAdapter.ts:236
delete()
delete(
sessionId
):void
Delete the session
Parameters
• sessionId: string
Session ID
Returns
void
Implementation of
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
Defined in
src/dataAdapters/SQLiteAdapter.ts:201
insert()
insert(
session
):void
Insert the session
Parameters
• session: OIDCClientSession
Session
Returns
void
Implementation of
Defined in
src/dataAdapters/SQLiteAdapter.ts:210
prune()
prune():
void
Prune expired session
Returns
void
Implementation of
Defined in
src/dataAdapters/SQLiteAdapter.ts:231
update()
update(
session
):void
Update the session
Parameters
• session: OIDCClientSession
Session
Returns
void