Skip to content

Latest commit

 

History

History
94 lines (52 loc) · 2.54 KB

File metadata and controls

94 lines (52 loc) · 2.54 KB

c8osdkjscoreHttpXsrfInterceptor

Class: HttpXsrfInterceptor

Hierarchy

  • HttpXsrfInterceptor

Implements

  • HttpInterceptor

Index

Constructors

Properties

Methods

Constructors

constructor

+ new HttpXsrfInterceptor(tokenExtractor: HttpXsrfTokenExtractor, c8o: C8o): HttpXsrfInterceptor

Defined in lib/c8oHttpxsrfInterceptor.service.ts:10

Parameters:

Name Type
tokenExtractor HttpXsrfTokenExtractor
c8o C8o

Returns: HttpXsrfInterceptor

Properties

Private c8o

c8o: C8o

Defined in lib/c8oHttpxsrfInterceptor.service.ts:11


Private fetch

fetch: string = "Fetch"

Defined in lib/c8oHttpxsrfInterceptor.service.ts:10


Private headerName

headerName: string = "x-xsrf-token"

Defined in lib/c8oHttpxsrfInterceptor.service.ts:9


Private tokenExtractor

tokenExtractor: HttpXsrfTokenExtractor

Defined in lib/c8oHttpxsrfInterceptor.service.ts:11

Methods

intercept

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››