@dvelop-sdk
Preparing search index...
express-utils
internals
_authenticationMiddlewareFactory
Function _authenticationMiddlewareFactory
_authenticationMiddlewareFactory
(
getAuthSessionId
:
(
req
:
Request
)
=>
string
|
undefined
,
validateAuthSessionId
:
(
context
:
DvelopContext
)
=>
Promise
<
DvelopUser
>
,
)
:
(
req
:
Request
,
_
:
Response
,
next
:
NextFunction
)
=>
Promise
<
void
>
Internal
Factory for the
authenticationMiddleware
-function.
Parameters
getAuthSessionId
:
(
req
:
Request
)
=>
string
|
undefined
validateAuthSessionId
:
(
context
:
DvelopContext
)
=>
Promise
<
DvelopUser
>
Returns
(
req
:
Request
,
_
:
Response
,
next
:
NextFunction
)
=>
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@dvelop-sdk
Loading...
Factory for the authenticationMiddleware-function.