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/authentication-session
AuthenticationSessionRedisRepository
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 AuthenticationSessionRedisRepository
Hierarchy
AuthenticationSessionRedisRepository
Implements
AuthenticationSessionRepository
Constructors
constructor
Methods
delete
read
upsert
Constructors
constructor
new
Authentication
Session
Redis
Repository
(
keyPrefix
:
string
)
:
AuthenticationSessionRedisRepository
Parameters
keyPrefix:
string
Returns
AuthenticationSessionRedisRepository
Methods
delete
delete
(
username
:
string
, deviceId
:
string
)
:
Promise
<
void
>
Parameters
username:
string
deviceId:
string
Returns
Promise
<
void
>
read
read
(
username
:
string
, deviceId
:
string
)
:
Promise
<
undefined
|
null
|
AuthenticationSession
>
Parameters
username:
string
deviceId:
string
Returns
Promise
<
undefined
|
null
|
AuthenticationSession
>
upsert
upsert
(
username
:
string
, deviceId
:
string
, session
:
AuthenticationSession
, ttl
:
number
)
:
Promise
<
void
>
Parameters
username:
string
deviceId:
string
session:
AuthenticationSession
ttl:
number
Returns
Promise
<
void
>
Authentication
Session
Redis
Repository
constructor
delete
read
upsert