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/activate-account-session
ActivateAccountSessionRedisRepository
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 ActivateAccountSessionRedisRepository
Hierarchy
ActivateAccountSessionRedisRepository
Implements
ActivateAccountSessionRepository
<
AccountWithTotpSecret
>
Constructors
constructor
Methods
delete
insert
read
Constructors
constructor
new
Activate
Account
Session
Redis
Repository
(
keyPrefix
:
string
)
:
ActivateAccountSessionRedisRepository
Parameters
keyPrefix:
string
Returns
ActivateAccountSessionRedisRepository
Methods
delete
delete
(
token
:
string
)
:
Promise
<
void
>
Parameters
token:
string
Returns
Promise
<
void
>
insert
insert
(
token
:
string
, account
:
AccountWithTotpSecret
, ttl
:
number
)
:
Promise
<
void
>
Parameters
token:
string
account:
AccountWithTotpSecret
ttl:
number
Returns
Promise
<
void
>
read
read
(
token
:
string
)
:
Promise
<
undefined
|
null
|
AccountWithTotpSecret
>
Parameters
token:
string
Returns
Promise
<
undefined
|
null
|
AccountWithTotpSecret
>
Activate
Account
Session
Redis
Repository
constructor
delete
insert
read