Preparing search index...
The search index is not available
Documentation
Documentation
Server Express
authenticate
Function authenticate
authenticate
(
req
,
res
,
next
)
:
Promise
<
void
>
A helper function for checking if the user is authenticated already
Parameters
req
:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
res
:
Response
<
any
,
Record
<
string
,
any
>
>
next
:
NextFunction
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
A helper function for checking if the user is authenticated already