@webshop/root - v1.0.0
HBO-ICT Knowledgebase
HBO-ICT.Cloud
Preparing search index...
api/src/middleware/sessionMiddleware
requireValidSessionMiddleware
Function requireValidSessionMiddleware
requireValidSessionMiddleware
(
req
:
Request
,
res
:
Response
,
next
:
NextFunction
,
)
:
void
Check if the User ID is actually set, otherwise the user has no permission (401).
Parameters
req
:
Request
res
:
Response
next
:
NextFunction
Returns
void
Settings
Member Visibility
Private
Protected
Inherited
Theme
OS
Light
Dark
HBO-ICT Knowledgebase
HBO-ICT.Cloud
@webshop/root - v1.0.0
Loading...
Check if the User ID is actually set, otherwise the user has no permission (401).