AuthGuard constructor
- String? redirectTo,
Guard that checks if the user is authenticated.
You must import AuthModule in the module using this guard.
Implementation
AuthGuard({super.redirectTo});
Guard that checks if the user is authenticated.
You must import AuthModule in the module using this guard.
AuthGuard({super.redirectTo});