Preparing search index...
The search index is not available
@mdf.js
@mdf.js
@mdf.js/middlewares
Security
Class Security
Index
Constructors
constructor
Methods
handler
Constructors
constructor
new
Security
()
:
Security
Returns
Security
Methods
Static
handler
handler
(
enable
?:
boolean
,
)
:
RequestHandler
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
[]
Return an array of security middlewares
Parameters
enable
:
boolean
= true
flag to enable or disable the security middleware
Returns
RequestHandler
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
handler
@mdf.js
Loading...
Return an array of security middlewares