{ "version": 3, "sources": ["projects/insight/src/app/shared/auth/auth.module.ts"], "sourcesContent": ["import { HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\n\r\nimport {\r\n AuthenticationGuard,\r\n AuthInterceptor,\r\n ForgottenPasswordComponent,\r\n LinkLogonComponent,\r\n ImpersonateLogonComponent,\r\n PinCodeLogonComponent,\r\n SigninCallbackComponent,\r\n SignoutCallbackComponent,\r\n AdminGuard, ContextHeaderInterceptor\r\n} from '.';\r\nimport { CoreModule } from 'app/shared/core/core.module';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\n\r\n\r\nconst authRoutes: Routes = [\r\n { path: 'signin-callback', component: SigninCallbackComponent },\r\n { path: 'signout-callback', component: SignoutCallbackComponent },\r\n { path: 'link-logon/:token', component: LinkLogonComponent },\r\n { path: 'impersonate-logon/:info', component: ImpersonateLogonComponent },\r\n { path: 'change-password/:token', component: ForgottenPasswordComponent },\r\n { path: 'pin-code-logon', component: PinCodeLogonComponent }\r\n];\r\n\r\n@NgModule({\r\n declarations: [\r\n SigninCallbackComponent,\r\n SignoutCallbackComponent,\r\n LinkLogonComponent,\r\n ImpersonateLogonComponent,\r\n ForgottenPasswordComponent,\r\n PinCodeLogonComponent\r\n ],\r\n providers: [\r\n AuthenticationGuard,\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: AuthInterceptor,\r\n multi: true,\r\n },\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: ContextHeaderInterceptor,\r\n multi: true,\r\n },\r\n AdminGuard\r\n ],\r\n imports: [\r\n CoreModule,\r\n MatProgressBarModule,\r\n RouterModule.forChild(authRoutes)\r\n ],\r\n exports: [\r\n ]\r\n})\r\nexport class AuthModule {\r\n\r\n}\r\n\r\n\r\n"], "mappings": "iMAmBA,IAAMA,EAAqB,CACvB,CAAEC,KAAM,kBAAmBC,UAAWC,CAAuB,EAC7D,CAAEF,KAAM,mBAAoBC,UAAWE,CAAwB,EAC/D,CAAEH,KAAM,oBAAqBC,UAAWG,CAAkB,EAC1D,CAAEJ,KAAM,0BAA2BC,UAAWI,CAAyB,EACvE,CAAEL,KAAM,yBAA0BC,UAAWK,CAA0B,EACvE,CAAEN,KAAM,iBAAkBC,UAAWM,CAAqB,CAAE,EAkCnDC,GAAU,IAAA,CAAjB,IAAOA,EAAP,MAAOA,CAAU,yCAAVA,EAAU,sBAAVA,CAAU,CAAA,2BAtBR,CACPC,EACA,CACIC,QAASC,EACTC,SAAUC,EACVC,MAAO,IAEX,CACEJ,QAASC,EACTC,SAAUG,EACVD,MAAO,IAETE,CAAU,EACbC,QAAA,CAEGC,EACAC,EACAC,EAAaC,SAAStB,CAAU,CAAC,CAAA,CAAA,EAKnC,IAAOS,EAAPc,SAAOd,CAAU,GAAA", "names": ["authRoutes", "path", "component", "SigninCallbackComponent", "SignoutCallbackComponent", "LinkLogonComponent", "ImpersonateLogonComponent", "ForgottenPasswordComponent", "PinCodeLogonComponent", "AuthModule", "AuthenticationGuard", "provide", "HTTP_INTERCEPTORS", "useClass", "AuthInterceptor", "multi", "ContextHeaderInterceptor", "AdminGuard", "imports", "CoreModule", "MatProgressBarModule", "RouterModule", "forChild", "_AuthModule"] }