KeycloakInterceptor
Defined in: interceptors/auth.interceptor.ts:27
Interceptor for appending relevant HTTP Headers to HTTP Request
Since
1.0.0
Author
Simon Kovtyk
Implements
HttpInterceptor
Constructors
Constructor
ts
new KeycloakInterceptor(): KeycloakInterceptor;Returns
KeycloakInterceptor
Methods
intercept()
ts
intercept(httpRequest, httpHandler): Observable<HttpEvent<unknown>>;Defined in: interceptors/auth.interceptor.ts:32
Identifies and handles a given HTTP request.
Parameters
| Parameter | Type |
|---|---|
httpRequest | HttpRequest<unknown> |
httpHandler | HttpHandler |
Returns
Observable<HttpEvent<unknown>>
An observable of the event stream.
Implementation of
ts
HttpInterceptor.intercept