@webshop/root - v1.0.0
HBO-ICT Knowledgebase
HBO-ICT.Cloud
Preparing search index...
api/src/interfaces/ISessionService
ISessionService
Class ISessionService
Abstract
Implemented by
SessionService
Index
Constructors
constructor
Methods
create
Session
delete
Expired
Sessions
delete
Session
get
User
Id
By
Session
Constructors
constructor
new
ISessionService
()
:
ISessionService
Returns
ISessionService
Methods
Abstract
create
Session
createSession
(
userId
:
number
)
:
Promise
<
string
|
undefined
>
Parameters
userId
:
number
Returns
Promise
<
string
|
undefined
>
Abstract
delete
Expired
Sessions
deleteExpiredSessions
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Abstract
delete
Session
deleteSession
(
sessionId
:
string
)
:
Promise
<
boolean
>
Parameters
sessionId
:
string
Returns
Promise
<
boolean
>
Abstract
get
User
Id
By
Session
getUserIdBySession
(
sessionId
:
string
)
:
Promise
<
number
|
undefined
>
Parameters
sessionId
:
string
Returns
Promise
<
number
|
undefined
>
Settings
Member Visibility
Private
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
create
Session
delete
Expired
Sessions
delete
Session
get
User
Id
By
Session
HBO-ICT Knowledgebase
HBO-ICT.Cloud
@webshop/root - v1.0.0
Loading...