In a Route Guard, to navigate to a different route due to an authorization failure, you would typically use the router.______ method.

  • forwardTo
  • handleError
  • navigate
  • redirectTo
In a Route Guard, to navigate to a different route due to an authorization failure, you would typically use the router.navigate method. This allows you to redirect the user to a different route when authorization fails or when specific conditions are not met.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *