UseGuards(...middlewares: MiddlewareLike[]): SetuClassOrMethodDecorator
Attaches guards to a controller or route. Guards run before the handler and
may short-circuit by responding without calling next().
...middlewares: MiddlewareLike[]
Guard functions or IMiddleware classes
A class or method decorator