start of caching, csrf interceptor, and device service

This commit is contained in:
Jesse Lucas
2020-03-29 16:51:12 -04:00
parent 03c6fb2f82
commit 05f01a5d94
11 changed files with 85 additions and 33 deletions
+8
View File
@@ -0,0 +1,8 @@
/* "Barrel" of Http Interceptors */
import { HTTP_INTERCEPTORS } from '@angular/common/http';
import { CSRFInterceptor } from './csrf-intercepor';
/** Http interceptor providers in outside-in order */
export const httpInterceptorProviders = [
{ provide: HTTP_INTERCEPTORS, useClass: CSRFInterceptor, multi: true },
];