home/categories/security/tanstack-router-packages-router-core-skills-router-core-auth-and-guards-skill-md
securitytesting-security
router-coreauth-and-guards
Route protection with beforeLoad, redirect()/throw redirect(), isRedirect helper, authenticated layout routes (_authenticated), non-redirect auth (inline login), RBAC with roles and permissions, auth provider integration (Auth0, Clerk, Supabase), router context for auth state.
maintainer
TanStack
آخر تحديث 3/16/2026
النجوم
14113
التفرعات
1630
quick start
Installation and usage
Route protection with beforeLoad, redirect()/throw redirect(), isRedirect helper, authenticated layout routes (_authenticated), non-redirect auth (inline login), RBAC with roles and permissions, auth provider integration (Auth0, Clerk, Supabase), router context for auth state.
التثبيت
$ install --globalskills.sh
الاستخدام
بعد التثبيت، يمكنك استخدام هذه المهارة بتشغيل الأمر التالي في الطرفية:
skills use router-coreauth-and-guards