UNPKG

los-auth

Version:

Libreria de autenticacion para las aplicaciones internas de la empresa LOS

34 lines 1.19 kB
import { NgModule } from "@angular/core"; import { HttpClientModule, HTTP_INTERCEPTORS } from "@angular/common/http"; import { LosAuthService } from "./los-auth.service"; import { LosAuthGuardService } from "./los-auth-guard.service"; import { LosAuthInterceptor } from "./los-auth.interceptor"; var LosAuthModule = /** @class */ (function () { function LosAuthModule() { } LosAuthModule.forRoot = function () { return { ngModule: LosAuthModule, providers: [ LosAuthService, LosAuthGuardService, { provide: HTTP_INTERCEPTORS, useClass: LosAuthInterceptor, multi: true } ] }; }; LosAuthModule.decorators = [ { type: NgModule, args: [{ imports: [HttpClientModule], exports: [HttpClientModule] },] }, ]; /** @nocollapse */ LosAuthModule.ctorParameters = function () { return []; }; return LosAuthModule; }()); export { LosAuthModule }; //# sourceMappingURL=los-auth.module.js.map