Preparing search index...
The search index is not available
@romanzy/otp - v0.6.1
@romanzy/otp
storage/MemoryStorage
default
Class default
Simple implementation of storage
Hierarchy
default
Implements
OtpStorage
Index
Constructors
constructor
Properties
map
Methods
get
invalidate
set
Constructors
constructor
new default
(
)
:
default
Returns
default
Properties
map
map
:
Map
<
any
,
any
>
= ...
Methods
get
get
(
key
)
:
Promise
<
null
|
string
>
Parameters
key
:
string
Returns
Promise
<
null
|
string
>
invalidate
invalidate
(
key
)
:
Promise
<
void
>
Parameters
key
:
string
Returns
Promise
<
void
>
set
set
(
key
,
value
,
ttl
)
:
Promise
<
void
>
Parameters
key
:
string
value
:
string
ttl
:
number
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
map
get
invalidate
set
@romanzy/otp - v0.6.1
OtpError
OtpService
helpers
index
storage/MemoryStorage
storage/UnstorageAdapter
types
utils
Generated using
TypeDoc
Simple implementation of storage