Checkpoint: Authentication

This commit is contained in:
aditya.chandel
2025-02-15 21:43:06 -07:00
parent e1685b2bf8
commit d3627a2d3f
25 changed files with 669 additions and 60 deletions
+14 -13
View File
@@ -1,20 +1,21 @@
import {provideHttpClient} from '@angular/common/http';
import {DialogService} from 'primeng/dynamicdialog';
import {ConfirmationService, MessageService} from 'primeng/api';
import {RxStompService} from './app/shared/websocket/rx-stomp.service';
import {rxStompServiceFactory} from './app/shared/websocket/rx-stomp-service-factory';
import {provideRouter, RouteReuseStrategy} from '@angular/router';
import {CustomReuseStrategy} from './app/custom-reuse-strategy';
import {provideAnimationsAsync} from '@angular/platform-browser/animations/async';
import {providePrimeNG} from 'primeng/config';
import {bootstrapApplication} from '@angular/platform-browser';
import {AppComponent} from './app/app.component';
import { provideHttpClient, withInterceptors } from '@angular/common/http';
import { DialogService } from 'primeng/dynamicdialog';
import { ConfirmationService, MessageService } from 'primeng/api';
import { RxStompService } from './app/shared/websocket/rx-stomp.service';
import { rxStompServiceFactory } from './app/shared/websocket/rx-stomp-service-factory';
import { provideRouter, RouteReuseStrategy } from '@angular/router';
import { CustomReuseStrategy } from './app/custom-reuse-strategy';
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
import { providePrimeNG } from 'primeng/config';
import { bootstrapApplication } from '@angular/platform-browser';
import { AppComponent } from './app/app.component';
import Aura from '@primeng/themes/aura';
import {routes} from './app/app.routes';
import { routes } from './app/app.routes';
import {AuthInterceptorService} from './app/auth-interceptor.service';
bootstrapApplication(AppComponent, {
providers: [
provideHttpClient(),
provideHttpClient(withInterceptors([AuthInterceptorService])),
provideRouter(routes),
DialogService,
MessageService,