What is JWT interceptor?
The JWT Interceptor is used in Angular 4 to intercept Http requests from the application itself when the user logs in to add a JWT auth token in the Authorization header. The interceptor is implemented using the HttpInterceptor class.
Note: These are basic Angular 4 interview questions and answers to provide a brief insight into Angular Development.
BY Best Interview Question ON 02 Feb 2020