@euk-labs/nest-beltz
Version:
11 lines • 897 B
TypeScript
import { ApiResponseOptions } from '@nestjs/swagger';
/**
* The HTTP `403 Forbidden` client error status response code indicates that the server understood the request but refuses to authorize it.
*
* This status is similar to [401](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401), but in this case, re-authenticating will make no difference. The access is permanently forbidden and tied to the application logic, such as insufficient rights to a resource.
*
* @see [403 Forbidden](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403)
* @param options These are the same types as ApiResponse
*/
export declare function ForbiddenResponse(options?: ApiResponseOptions): <TFunction extends Function, Y>(target: object | TFunction, propertyKey?: string | symbol, descriptor?: TypedPropertyDescriptor<Y>) => void;
//# sourceMappingURL=forbidden-response.decorator.d.ts.map