GT2/GT2-iOS/node_modules/xdl/build/__sourcemaps__/Credentials.js.map

1 line
7.5 KiB
Plaintext
Raw Normal View History

2018-02-12 17:26:06 +00:00
{"version":3,"sources":["Credentials.js"],"names":["async","metadata","fetchCredentials","credentialsExistForPlatformAsync","getCredentialsForPlatform","username","experienceName","bundleIdentifier","platform","decrypt","err","credentials","await","Api","callMethodAsync","Error","newCredentials","updateCredentialsForPlatform","removeCredentialsForPlatform","validationType","requestId","isValid","error","errorCode","errorMessage","validateCredentialsForPlatform","success","fetchAppleCertificates","ensureAppId","result","fetchPushCertificates"],"mappings":";;;;;;;;;;+BAmCOA,WACLC,QADKD,EAEkB;AACvB,WAAOE,iBAAiBD,QAAjBC,EAA2B,KAA3BA,CAAP;AACF,G;;kBAJsBC,gC;;;;;;gCAMfH,WACLC,QADKD,EAEkB;AACvB,WAAOE,iBAAiBD,QAAjBC,EAA2B,IAA3BA,CAAP;AACF,G;;kBAJsBE,yB;;;;;;gCAMtBJ,WACE,EAAEK,QAAF,EAAYC,cAAZ,EAA4BC,gBAA5B,EAA8CC,QAA9C,EADFR,EAEES,OAFFT,EAGyB;AACvB;AACA,UAAM,EAAEU,GAAF,EAAOC,WAAP,KAAuBC,MAAMC,8BAAIC,eAAJD,CAAoB,gBAApBA,EAAsC,EAAtCA,EAA0C,MAA1CA,EAAkD;AACnFR,cADmF;AAEnFC,oBAFmF;AAGnFC,sBAHmF;AAInFC,cAJmF;AAKnFC;AALmF,KAAlDI,CAAnC;;AAQA,QAAIH,GAAJ,EAAS;AACP,YAAM,IAAIK,KAAJ,CAAU,6BAAV,CAAN;AACF;;AAEA,WAAOJ,WAAP;AACF,G;;kBAlBeT,gB;;;;;;gCAoBRF,WACLQ,QADKR,EAELgB,cAFKhB,EAGLC,QAHKD,EAIU;AACf;AACA,UAAM,EAAEU,GAAF,EAAOC,WAAP,KAAuBC,MAAMC,8BAAIC,eAAJD,CAAoB,mBAApBA,EAAyC,EAAzCA,EAA6C,MAA7CA;AACjCF,m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SADI,EAEH,wDAAuDH,SAAU,cAAaI,YAAa,EAFxF,CAAN;AAIF;;AAEA,WAAOE,OAAP;AACF,G;;kBApBsBC,sB;;;;;;gCAsBf3B,WAA2BC,QAA3BD,EAAwE;AAC7E,UAAM;AACJoB,eADI;AAEJV,SAFI;AAGJgB,aAHI;AAIJH,eAJI;AAKJC;AALI,QAMFZ,MAAMC,8BAAIC,eAAJD,CAAoB,aAApBA,EAAmC,EAAnCA,EAAuC,MAAvCA,eACLZ,QADKY,EANV;;AAUA,QAAIH,OAAO,CAACgB,OAAZ,EAAqB;AACnB,YAAM,4CACJH,SADI,EAEH,uCAAsCH,SAAU,cAAaI,YAAa,EAFvE,CAAN;AAIF;;AAEA,WAAOE,OAAP;AACF,G;;kBAnBsBE,W;;;;;;gCAqBf5B,WAAqCC,QAArCD,EAAkF;AACvF,UAAM6B,SAASjB,MAAMC,8BAAIC,eAAJD,CAAoB,uBAApBA,EAA6C,EAA7CA,EAAiD,MAAjDA,eAChBZ,QADgBY,EAArB;;AAIA,QAAIgB,OAAOnB,GAAPmB,IAAc,CAACA,OAAOH,OAA1B,EAAmC;AACjC,YAAM,4CACJG,OAAON,SADH,EAEH,gDAA+CM,OAAOT,SAAU,cAAaS,OAAOL,YAAa,EAF9F,CAAN;AAIF;;AAEA,WAAOK,OAAOH,OAAd;AACF,G;;kBAbsBI,qB;;;;;;;AA3KtB;AAAA;AAAA;;;;AACA;AAAA;AAAA","file":"../Credentials.js","sourcesContent":["/**\n * @flow\n */\n\nimport Api from './Api';\nimport XDLError from './XDLError';\n\nexport type AndroidCredentials = {\n keystore: string,\n keystoreAlias: string,\n keystorePassword: string,\n keyPassword: string,\n};\n\nexport type IOSCredentials = {\n appleId?: string,\n password?: string,\n teamId?: string,\n certP12?: string,\n certPassword?: string,\n pushP12?: string,\n pushPassword?: string,\n provisioningProfile?: string,\n clientExpMadeCerts?: string,\n};\n\nexport type Credentials = IOSCredentials | AndroidCredentials;\n\nexport type CredentialMetadata = {\n username: string,\n experienceName: string,\n bundleIdentifier: string,\n platform: string,\n};\n\nexport async function credentialsExistForPlatformAsync(\n metadata: CredentialMetadata\n): Promise<?Credentials> {\n return fetchCredentials(metadata, false);\n}\n\nexport async function getCredentialsForPlatform(\n metadat