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/failed-authentications-session
FailedAuthenticationAttemptsSessionRedisRepository
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 FailedAuthenticationAttemptsSessionRedisRepository
Hierarchy
FailedAuthenticationAttemptsSessionRedisRepository
Implements
FailedAuthAttemptSessionRepository
Constructors
constructor
Methods
delete
read
upsert
Constructors
constructor
new
Failed
Authentication
Attempts
Session
Redis
Repository
(
keyPrefix
:
string
)
:
FailedAuthenticationAttemptsSessionRedisRepository
Parameters
keyPrefix:
string
Returns
FailedAuthenticationAttemptsSessionRedisRepository
Methods
delete
delete
(
username
:
string
)
:
Promise
<
void
>
Parameters
username:
string
Returns
Promise
<
void
>
read
read
(
username
:
string
)
:
Promise
<
undefined
|
null
|
FailedAuthenticationAttemptSession
>
Parameters
username:
string
Returns
Promise
<
undefined
|
null
|
FailedAuthenticationAttemptSession
>
upsert
upsert
(
username
:
string
, session
:
FailedAuthenticationAttemptSession
, ttl
:
number
)
:
Promise
<
void
>
Parameters
username:
string
session:
FailedAuthenticationAttemptSession
ttl:
number
Returns
Promise
<
void
>
Failed
Authentication
Attempts
Session
Redis
Repository
constructor
delete
read
upsert