Angular Authentication: Role Based Authorization
55.2 هزار بار بازدید -
3 سال پیش
-
#Angular uses
#Angular uses guards to protect routes. In this video we will use the CanActivate guard to protect routes from non-authorized users.
The authentication is applied using #jwt token and we will make sure to block users from visiting specific routes if they are not authorized.
✨ Official doc on CanActivate guard: https://angular.io/api/router/CanActi...
✨ Code: https://github.com/profanis/codeShots...
The authentication is applied using #jwt token and we will make sure to block users from visiting specific routes if they are not authorized.
✨ Official doc on CanActivate guard: https://angular.io/api/router/CanActi...
✨ Code: https://github.com/profanis/codeShots...
3 سال پیش
در تاریخ 1400/04/25 منتشر شده
است.
55,207
بـار بازدید شده