{ "version": 3, "sources": ["common_libraries/Services/development/dev-auth.service.ts"], "sourcesContent": ["import { Injectable } from '@angular/core';\n\nimport { Observable } from 'rxjs';\nimport { Dictionary } from '@common_libraries/helpers/Dictionary';\nimport {ServiceLibrary, ServiceReturn} from '@common_libraries/helpers/ServiceLibrary';\nimport { environment } from '@environments/environment';\n/***\n * This is a place holder for checking logged in, reauth, etc while waiting on the real thing\n */\n@Injectable()\nexport class DevAuthService {\n serviceLibrary: ServiceLibrary;\n\n public constructor(servLib: ServiceLibrary){\n this.serviceLibrary = servLib;\n }\n\n DoIWork(parameters: Dictionary): Observable {\n const versionToUse = '/v1';\n let serviceUrl = '/api/Dev/DoIWork';\n if (environment.skipAPIVersioning !== undefined && !environment.skipAPIVersioning) {\n serviceUrl = versionToUse + serviceUrl;\n }\n\n return this.serviceLibrary.HttpGet(serviceUrl, ServiceLibrary.ContentType.JSON, parameters);\n }\n\n RollingAuthCheck(parameters: Dictionary): Observable {\n const versionToUse = '/v1';\n let serviceUrl = '/api/Dev/RollingAuthCheck';\n if (!environment.skipAPIVersioning !== undefined && !environment.skipAPIVersioning) {\n serviceUrl = versionToUse + serviceUrl;\n }\n\n return this.serviceLibrary.HttpGet(serviceUrl, ServiceLibrary.ContentType.JSON, parameters);\n }\n}\n"], "mappings": "+DAUA,IAAaA,GAAc,IAAA,CAArB,IAAOA,EAAP,MAAOA,CAAc,CAGzBC,YAAmBC,EAAuB,CACxC,KAAKC,eAAiBD,CACxB,CAEAE,QAAQC,EAAsB,CAC5B,IAAMC,EAAe,MACjBC,EAAa,mBACjB,OAAKC,EAAYC,oBAAsBC,QAAa,CAACF,EAAYC,oBAC/DF,EAAaD,EAAeC,GAGvB,KAAKJ,eAAeQ,QAAQJ,EAAYK,EAAeC,YAAYC,KAAMT,CAAU,CAC5F,CAEAU,iBAAiBV,EAAsB,CACrC,IAAMC,EAAe,MACjBC,EAAa,4BACjB,MAAK,CAACC,EAAYC,oBAAsBC,QAAa,CAACF,EAAYC,oBAChEF,EAAaD,EAAeC,GAGvB,KAAKJ,eAAeQ,QAAQJ,EAAYK,EAAeC,YAAYC,KAAMT,CAAU,CAC5F,yCAzBWL,GAAcgB,EAAAJ,CAAA,CAAA,CAAA,wBAAdZ,EAAciB,QAAdjB,EAAckB,SAAA,CAAA,EAArB,IAAOlB,EAAPmB,SAAOnB,CAAc,GAAA", "names": ["DevAuthService", "constructor", "servLib", "serviceLibrary", "DoIWork", "parameters", "versionToUse", "serviceUrl", "environment", "skipAPIVersioning", "undefined", "HttpGet", "ServiceLibrary", "ContentType", "JSON", "RollingAuthCheck", "\u0275\u0275inject", "factory", "\u0275fac", "_DevAuthService"] }