diff --git a/src/app/auth/token-interceptor.ts b/src/app/auth/token-interceptor.ts index 2145a39576f80ab72f16ba2819a0c355dec3e989..4e04fa3cccbdf385604ce52421e8191e4214f29b 100644 --- a/src/app/auth/token-interceptor.ts +++ b/src/app/auth/token-interceptor.ts @@ -1,11 +1,18 @@ import { Injectable } from '@angular/core'; import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/common/http'; + import { Observable } from 'rxjs'; import { AuthService } from './auth.service'; import { environment } from '../../environments/environment'; @Injectable() +/** + * @class + * @classdesc Token interceptor. + * + * @implements HttpInterceptor + */ export class TokenInterceptor implements HttpInterceptor { constructor(private authService: AuthService) { }