fix(roadmaps/angular): guards roadmap information (#6129)
- remove deprecated `canLoad` angular guard - change the description to use functional guardspull/6133/head
parent
f16aa78829
commit
bcac605aeb
1 changed files with 5 additions and 3 deletions
@ -1,11 +1,13 @@ |
||||
# Route Guards |
||||
|
||||
Angular route guards are interfaces provided by Angular which, when implemented, allow us to control the accessibility of a route based on conditions provided in class implementation of that interface. |
||||
Use route guards to prevent users from navigating to parts of an application without authorization. |
||||
|
||||
Some types of angular guards are `CanActivate`, `CanActivateChild`, `CanLoad`, `CanDeactivate` and `Resolve`. |
||||
Angular route guards are interfaces provided by Angular that, when implemented, allow us |
||||
to control the accessibility of a route based on conditions provided in function implementation of that interface. |
||||
|
||||
Some types of angular guards are `CanActivate`, `CanActivateChild`, `CanDeactivate`, `CanMatch` and `Resolve`. |
||||
|
||||
Visit the following resources to learn more: |
||||
|
||||
- [@official@Angular Official Website](https://angular.dev/guide/routing) |
||||
- [@official@Preventing unauthorized access](https://angular.dev/guide/routing/common-router-tasks#preventing-unauthorized-access) |
||||
- [@official@Resolve](https://angular.dev/api/router/Resolve) |
||||
|
Loading…
Reference in new issue