Search
Preparing search index...
The search index is not available
@thermopylae/core.authentication
Thermopylae
Github
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
repositories/redis/forgot-password-session
ForgotPasswordSessionRedisRepository
Modules
{"Error":"error","MySQL":{"Account":"repositories_mysql_account","Failed Authentications":"repositories_mysql_failed_authentications","Successful Authentications":"repositories_mysql_successful_authentication"},"Redis":{"Activate Account Session":"repositories_redis_activate_account_session","Authentication Session":"repositories_redis_authentication_session","Failed Authentication Attempts Session":"repositories_redis_failed_authentications_session","Forgot Password Session":"repositories_redis_forgot_password_session"}}
Class ForgotPasswordSessionRedisRepository
Hierarchy
ForgotPasswordSessionRedisRepository
Implements
ForgotPasswordSessionRepository
Constructors
constructor
Methods
delete
exists
insert
Constructors
constructor
new
Forgot
Password
Session
Redis
Repository
(
keyPrefix
:
string
)
:
ForgotPasswordSessionRedisRepository
Parameters
keyPrefix:
string
Returns
ForgotPasswordSessionRedisRepository
Methods
delete
delete
(
token
:
string
)
:
Promise
<
void
>
Parameters
token:
string
Returns
Promise
<
void
>
exists
exists
(
token
:
string
)
:
Promise
<
boolean
>
Parameters
token:
string
Returns
Promise
<
boolean
>
insert
insert
(
token
:
string
, ttl
:
number
)
:
Promise
<
void
>
Parameters
token:
string
ttl:
number
Returns
Promise
<
void
>
Forgot
Password
Session
Redis
Repository
constructor
delete
exists
insert