{"version":3,"sources":["webpack:///./src/views/apps/teams/auth/TeamsAuthEndSilent.vue?ccfb","webpack:///src/views/apps/teams/auth/TeamsAuthEndSilent.vue","webpack:///./src/views/apps/teams/auth/TeamsAuthEndSilent.vue?1b70","webpack:///./src/views/apps/teams/auth/TeamsAuthEndSilent.vue","webpack:///./src/services/accountService.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","on","authLoaded","staticRenderFns","tenants","current","components","props","microsoftTeams","Object","teamsContext","data","authConfig","clientId","process","redirectUri","window","location","origin","cacheLocation","navigateToLoginRequestUrl","methods","tryCompleteFlow","console","log","AuthenticationContext","authContext","isCallback","hash","handleWindowCallback","opener","getCachedUser","authentication","notifySuccess","getLoginError","notifyFailure","computed","watch","component","get","id","services","http","linkSlack","code","scope","post","linkTeams","createToken","createCookie","idToken","id_token","getConfig","login","email","password","create_cookie","withCredentials","register","displayName","display_name","headers","authorization"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,SAAS,CAACE,MAAM,CAAC,IAAM,wEAAwE,UAAY,0EAA0E,YAAc,YAAY,KAAO,0BAA0BC,GAAG,CAAC,KAAOP,EAAIQ,iBACxWC,EAAkB,G,+DCctBC,IAAAC,UAGe,OACfC,WAAA,GAEAC,MAAA,CACAC,eAAAC,OACAC,aAAAD,QAEAE,UAAA,CACAC,WAAA,CACAC,SAAAC,uCACAC,YAAAC,OAAAC,SAAAC,OAAA,iCACAC,cAAA,eACAC,2BAAA,KAKAC,QAAA,CACA,mBACA,KAAAC,mBAEA,wBAEA,GADAC,QAAAC,IAAA,mCAAAhB,eAAAQ,OAAAS,uBACA,KAAAjB,gBAAAQ,OAAAS,sBAAA,CACA,IAAAC,EAAA,IAAAV,OAAAS,sBAAA,KAAAb,YACAc,EAAAC,WAAAX,OAAAC,SAAAW,QACAF,EAAAG,qBAAAb,OAAAC,SAAAW,MAEAZ,OAAAc,SACAJ,EAAAK,iBACAR,QAAAC,IAAA,2BAAAE,EAAAK,iBACA,KAAAvB,eAAAwB,eAAAC,kBAEAV,QAAAC,IAAA,4BAAAE,EAAAQ,iBACA,KAAA1B,eAAAwB,eAAAG,cAAAT,EAAAQ,uBAOAE,SAAA,GAGAC,MAAA,CACA7B,iBACA,KAAAc,qBChEyY,I,YCOrYgB,EAAY,eACd,EACA7C,EACAU,GACA,EACA,KACA,WACA,MAIa,aAAAmC,E,2CClBf,0BAGe,QACXC,IAAIC,GACA,OAAOC,OAASC,KAAKH,IAAI,iBAAmBC,IAEhDG,UAAUC,EAAMC,GACZ,OAAOJ,OAASC,KAAKI,KAAM,+BAA8BF,WAAcC,IAAS,KAEpFE,UAAUH,EAAMC,GACZ,OAAOJ,OAASC,KAAKI,KAAM,+BAA8BF,WAAcC,IAAS,KAEpFG,cACI,OAAOP,OAASC,KAAKI,KAAM,2BAA2B,KAE1DG,aAAaC,GACT,OAAOT,OAASC,KAAKI,KAAM,4BAA4B,CAAEK,SAAUD,GAAUvD,KAAKyD,UAAUF,KAEhGG,MAAMC,EAAOC,GACT,OAAOd,OAASC,KAAKI,KAAM,oBAAoB,CAAEQ,MAAOA,EAAOC,SAAUA,EAAUC,eAAe,GAAQ,CAAEC,iBAAiB,KAEjIC,SAASJ,EAAOC,EAAUI,GACtB,OAAOlB,OAASC,KAAKI,KAAM,uBAAuB,CAAEQ,MAAOA,EAAOC,SAAUA,EAAUK,aAAcD,EAAaH,eAAe,GAAS,CAAEC,iBAAiB,KAGhKL,UAAUF,GACN,MAAO,CACHW,QAAS,CACLC,cAAgB,UAASZ","file":"js/chunk-2640a25a.6b4d7323.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('script',{attrs:{\"src\":\"https://secure.aadcdn.microsoftonline-p.com/lib/1.0.15/js/adal.min.js\",\"integrity\":\"sha384-lIk8T3uMxKqXQVVfFbiw0K/Nq+kt1P3NtGt/pNexiDby2rKU6xnDY8p16gIwKqgI\",\"crossorigin\":\"anonymous\",\"type\":\"application/javascript\"},on:{\"load\":_vm.authLoaded}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TeamsAuthEndSilent.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TeamsAuthEndSilent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TeamsAuthEndSilent.vue?vue&type=template&id=49e88150&scoped=true&\"\nimport script from \"./TeamsAuthEndSilent.vue?vue&type=script&lang=js&\"\nexport * from \"./TeamsAuthEndSilent.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"49e88150\",\n null\n \n)\n\nexport default component.exports","import services from \"./index\";\nimport qs from \"querystring\";\n\nexport default {\n get(id) {\n return services.http.get(\"/v1.0/account/\" + id);\n },\n linkSlack(code, scope) {\n return services.http.post(`/v1.0/oauth/link-slack?code=${code}&scope=${scope}`, {});\n },\n linkTeams(code, scope) {\n return services.http.post(`/v1.0/oauth/link-teams?code=${code}&scope=${scope}`, {});\n },\n createToken() {\n return services.http.post(`/v1.0/oauth/create-token`, {});\n },\n createCookie(idToken) {\n return services.http.post(`/v1.0/oauth/create-cookie`, { id_token: idToken}, this.getConfig(idToken));\n },\n login(email, password) {\n return services.http.post(`/v1.0/oauth/login`, { email: email, password: password, create_cookie: false}, { withCredentials: false });\n },\n register(email, password, displayName) {\n return services.http.post(`/v1.0/oauth/register`, { email: email, password: password, display_name: displayName, create_cookie: false }, { withCredentials: false });\n },\n\n getConfig(idToken) {\n return {\n headers: {\n authorization: `Bearer ${idToken}`,\n },\n //withCredentials: true,\n };\n },\n}"],"sourceRoot":""}