admin area
This commit is contained in:
13
apps/website/lib/gateways/index.ts
Normal file
13
apps/website/lib/gateways/index.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Gateways - Component-based access control
|
||||
*
|
||||
* Follows clean architecture by separating concerns:
|
||||
* - Blockers: Prevent execution (frontend UX)
|
||||
* - Gateways: Orchestrate access control
|
||||
* - Guards: Enforce security (backend)
|
||||
*/
|
||||
|
||||
export { AuthGateway } from './AuthGateway';
|
||||
export type { AuthGatewayConfig } from './AuthGateway';
|
||||
export { RouteGuard, useRouteGuard } from './RouteGuard';
|
||||
export { AuthGuard, useAuthAccess } from './AuthGuard';
|
||||
Reference in New Issue
Block a user