Sign in

Handler Type: ProtectMiddleware

ProtectMiddleware = (options?: ProtectOptions) => RequestHandler

Factory function that returns an Express middleware for protecting API routes.

Parameters

ParameterType
options?ProtectOptions

Returns

RequestHandler

© 2024 MonoCloud. All rights reserved.