Preparing search index...
The search index is not available
Community Solid Server - v7.1.2
Community Solid Server
ExpiringAdapter
Class ExpiringAdapter
An IDP storage adapter that uses an ExpiringStorage to persist data.
Implements
Adapter
Index
Constructors
constructor
Properties
logger
Methods
consume
destroy
find
find
By
Uid
find
By
User
Code
revoke
By
Grant
Id
upsert
Constructors
constructor
new
Expiring
Adapter
(
name
,
storage
)
:
ExpiringAdapter
Parameters
name
:
string
storage
:
ExpiringStorage
<
string
,
unknown
>
Returns
ExpiringAdapter
Properties
Protected
Readonly
logger
logger
:
Logger
= ...
Methods
consume
consume
(
id
)
:
Promise
<
void
>
Parameters
id
:
string
Returns
Promise
<
void
>
destroy
destroy
(
id
)
:
Promise
<
void
>
Parameters
id
:
string
Returns
Promise
<
void
>
find
find
(
id
)
:
Promise
<
void
|
AdapterPayload
>
Parameters
id
:
string
Returns
Promise
<
void
|
AdapterPayload
>
find
By
Uid
find
By
Uid
(
uid
)
:
Promise
<
void
|
AdapterPayload
>
Parameters
uid
:
string
Returns
Promise
<
void
|
AdapterPayload
>
find
By
User
Code
find
By
User
Code
(
userCode
)
:
Promise
<
void
|
AdapterPayload
>
Parameters
userCode
:
string
Returns
Promise
<
void
|
AdapterPayload
>
revoke
By
Grant
Id
revoke
By
Grant
Id
(
grantId
)
:
Promise
<
void
>
Parameters
grantId
:
string
Returns
Promise
<
void
>
upsert
upsert
(
id
,
payload
,
expiresIn
?
)
:
Promise
<
void
>
Parameters
id
:
string
payload
:
AdapterPayload
Optional
expiresIn
:
number
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
logger
Methods
consume
destroy
find
find
By
Uid
find
By
User
Code
revoke
By
Grant
Id
upsert
Community Solid Server - v7.1.2
Loading...
An IDP storage adapter that uses an ExpiringStorage to persist data.