MonoCloud Authentication SDK
Preparing search index...
@monocloud/backend-node
frameworks/express
ProtectMiddleware
Type Alias ProtectMiddleware
ProtectMiddleware
:
(
options
?:
ProtectOptions
)
=>
RequestHandler
Factory function that returns an Express middleware for protecting API routes.
Type Declaration
(
options
?:
ProtectOptions
)
:
RequestHandler
Parameters
Optional
options
:
ProtectOptions
Returns
RequestHandler
Settings
Theme
OS
Light
Dark
MonoCloud Authentication SDK
Loading...
Factory function that returns an Express middleware for protecting API routes.