Przejdź do głównej zawartości

Interface: RouteProtectionConfig

Route matching utility for auth redirects.

Pure function — route lists stay in the template (SSOT config), but matching logic lives in the SDK (reusable across templates).

Properties

guestOnlyRoutes

guestOnlyRoutes: string[]


protectedRoutes

protectedRoutes: string[]


redirects

redirects: object

authenticated

authenticated: string

unauthenticated

unauthenticated: string