Files
blackcanyontickets/reactrebuild0825/src/components/auth/index.ts
dzinesco 545d3ba71e feat(auth): implement mock authentication with role-based permissions
- Add comprehensive mock authentication system
- Implement user/admin/super_admin role hierarchy
- Create protected route component with permission checking
- Add authentication context and custom hooks
- Include login page with form validation
- Support persistent sessions with localStorage

Authentication system provides realistic auth flows without external
dependencies, perfect for frontend development and testing.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-16 12:39:20 -06:00

8 lines
176 B
TypeScript

// Authentication components exports
export {
ProtectedRoute,
AdminRoute,
OrganizerRoute,
AuthenticatedRoute,
type ProtectedRouteProps
} from './ProtectedRoute';