RedisAdapter
このコンテンツはまだ日本語訳がありません。
Redis data adapter
- Usage:
const dataAdapter = new RedisAdapter();
- Not recommended for use in production.
See
Implements
Constructors
new RedisAdapter()
new RedisAdapter(
options
?):RedisAdapter
Parameters
• options?: RedisOptions
Returns
Defined in
src/dataAdapters/RedisAdapter.ts:22
Properties
db
db:
Redis
Database
Defined in
src/dataAdapters/RedisAdapter.ts:19
options
options:
RedisOptions
Defined in
src/dataAdapters/RedisAdapter.ts:20
Methods
close()
close():
Promise
<void
>
Returns
Promise
<void
>
Implementation of
Defined in
src/dataAdapters/RedisAdapter.ts:83
delete()
delete(
sessionId
):Promise
<void
>
Parameters
• sessionId: string
Session ID
Returns
Promise
<void
>
Implementation of
Defined in
src/dataAdapters/RedisAdapter.ts:75
fetch()
fetch(
sessionId
):Promise
<null
|OIDCClientSession
>
Parameters
• sessionId: string
Session ID
Returns
Promise
<null
| OIDCClientSession
>
Implementation of
Defined in
src/dataAdapters/RedisAdapter.ts:31
flushAll()
flushAll():
Promise
<void
>
Returns
Promise
<void
>
Defined in
src/dataAdapters/RedisAdapter.ts:88
insert()
insert(
session
):Promise
<void
>
Parameters
• session: OIDCClientSession
Session
Returns
Promise
<void
>
Implementation of
Defined in
src/dataAdapters/RedisAdapter.ts:47
prune()
prune():
void
Returns
void
Implementation of
Defined in
src/dataAdapters/RedisAdapter.ts:80
update()
update(
session
):Promise
<void
>
Parameters
• session: OIDCClientSession
Session
Returns
Promise
<void
>