Protects API routes for Page router pages WithApiAuthRequiredPageRoute or App router pages WithApiAuthRequiredAppRoute
Protects API routes for Page router pages WithApiAuthRequiredPageRoute or App router pages WithApiAuthRequiredAppRoute