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/mysql/successful-authentication
SuccessfulAuthenticationsMysqlRepository
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 SuccessfulAuthenticationsMysqlRepository
Hierarchy
SuccessfulAuthenticationsMysqlRepository
Implements
SuccessfulAuthenticationsRepository
Constructors
constructor
Methods
auth
Before
From
This
Device
insert
read
Range
Constructors
constructor
new
Successful
Authentications
Mysql
Repository
(
)
:
SuccessfulAuthenticationsMysqlRepository
Returns
SuccessfulAuthenticationsMysqlRepository
Methods
auth
Before
From
This
Device
auth
Before
From
This
Device
(
accountId
:
string
, device
:
HttpDevice
)
:
Promise
<
boolean
>
Parameters
accountId:
string
device:
HttpDevice
Returns
Promise
<
boolean
>
insert
insert
(
authentication
:
SuccessfulAuthenticationModel
)
:
Promise
<
void
>
Parameters
authentication:
SuccessfulAuthenticationModel
Returns
Promise
<
void
>
read
Range
read
Range
(
accountId
:
string
, startingFrom
?:
number
, endingTo
?:
number
)
:
Promise
<
SuccessfulAuthenticationModel
[]
>
Parameters
accountId:
string
Optional
startingFrom:
number
Optional
endingTo:
number
Returns
Promise
<
SuccessfulAuthenticationModel
[]
>
Successful
Authentications
Mysql
Repository
constructor
auth
Before
From
This
Device
insert
read
Range