Suppose the GrardAuthService with method canActivate() was created already and available for you to use in an
Fantastic news! We've Found the answer you've been seeking!
Question:
Suppose the GrardAuthService with method canActivate() was created already and available for you to use in an Angular project (with JWT discussed in class). You are required to prevent unauthorized user from accessing the ProjectsComponent using the path "/projects". Which file you need to update? And show your code added for doing this. ?
If you've completed your code of the InterceptTokenServer in an Angular project (with JWT discussed in class), what other work you need to do to make the service work?
Related Book For
Fundamental Statistics for the Behavioral Sciences
ISBN: 978-1285076911
8th Edition
Authors: David C. Howell
Posted Date: