Skip to content
rw3iss Auth

Public()

Public()

Public(): CustomDecorator<string>

Defined in: src/decorators/public.decorator.ts:12

Mark a route as public (no JWT required).

The JwtAuthGuard is applied globally — use @Public() on specific controllers or handlers to opt out: health checks, webhooks from external services, OAuth callbacks, etc.

Returns

CustomDecorator<string>