UNPKG

keycloak-angular

Version:
11 lines (10 loc) 490 B
import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { KeycloakService } from '../services/keycloak.service'; export declare class KeycloakBearerInterceptor implements HttpInterceptor { private keycloak; constructor(keycloak: KeycloakService); private isUrlExcluded; intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>; private handleRequestWithTokenHeader; }