c8osdkjscore › HttpXsrfInterceptor
- HttpXsrfInterceptor
- HttpInterceptor
+ new HttpXsrfInterceptor(tokenExtractor: HttpXsrfTokenExtractor, c8o: C8o): HttpXsrfInterceptor
Defined in lib/c8oHttpxsrfInterceptor.service.ts:10
Parameters:
| Name | Type |
|---|---|
tokenExtractor |
HttpXsrfTokenExtractor |
c8o |
C8o |
Returns: HttpXsrfInterceptor
• c8o: C8o
Defined in lib/c8oHttpxsrfInterceptor.service.ts:11
• fetch: string = "Fetch"
Defined in lib/c8oHttpxsrfInterceptor.service.ts:10
• headerName: string = "x-xsrf-token"
Defined in lib/c8oHttpxsrfInterceptor.service.ts:9
• tokenExtractor: HttpXsrfTokenExtractor
Defined in lib/c8oHttpxsrfInterceptor.service.ts:11
▸ intercept(req: HttpRequest‹any›, next: HttpHandler): Observable‹HttpEvent‹any››
Defined in lib/c8oHttpxsrfInterceptor.service.ts:15
Parameters:
| Name | Type |
|---|---|
req |
HttpRequest‹any› |
next |
HttpHandler |
Returns: Observable‹HttpEvent‹any››