/* Decoded by unphp.net */ h1Zzr(MYGM8::class, $this->MJU4u()); } public function t3O0n() { goto O34_2; c4G8d: $DeJM1->QVSDK("devKey"); goto npEC7; npEC7: $TX13s = new PnbnQ(); goto qXWAh; LMuG5: $this->QW5kw($TX13s, "Simple"); goto jRl26; qXWAh: $DeJM1->G0KPr($TX13s); goto LMuG5; O34_2: $DeJM1 = $this->mJU4u(); goto c4G8d; jRl26: } private function qW5kw($TX13s, $Qo07g) { goto Ae0GM; Z5YEB: $hEj5B = new ReflectionClass(get_class($lwUS1)); goto Ta86G; eXz8k: $this->H1ZZr($MR2Ej, $WPhTc[0]); goto pez4p; l7b54: $ac7G3 = $ggxZJ->getValue($lwUS1); goto LEMmH; pez4p: goto WXyNL; goto jgKtl; yyQGS: WXyNL: goto pEBht; LEMmH: $WPhTc = array_pop($ac7G3); goto J8PUw; jgKtl: byO0d: goto zLmjy; J8PUw: if (null === $Qo07g) { goto byO0d; } goto CA5Ry; Ae0GM: $lwUS1 = $TX13s->L3pqy("handler"); goto Z5YEB; zLmjy: $this->cbyqH(3, $ac7G3); goto yyQGS; VxEEL: $ggxZJ->setAccessible(true); goto l7b54; CA5Ry: $MR2Ej = sprintf("Google\Auth\Middleware\%sMiddleware", $Qo07g); goto eXz8k; Ta86G: $ggxZJ = $hEj5B->getProperty("stack"); goto VxEEL; pEBht: } private function xGrk7($TX13s, $gPZfe, $GpNBp = null) { goto XGFsw; jSi7C: czpnC: goto h03Bw; nxO5B: $ggxZJ = $hEj5B->getProperty("fetcher"); goto TT1bl; vWRJJ: $Qy0tm = $WPhTc[0]; goto Kov9M; jdmYH: $DjACw = $ggxZJ->getValue($Qy0tm); goto RirAn; fkAoV: $hEj5B = new ReflectionClass(get_class($vEnZT)); goto ooFKI; tB11T: if (!$GpNBp) { goto czpnC; } goto fkAoV; AzFzr: $ggxZJ->setAccessible(true); goto nQVXd; TT1bl: $ggxZJ->setAccessible(true); goto jdmYH; XGFsw: $lwUS1 = $TX13s->l3pQy("handler"); goto abQaB; RirAn: $this->H1zZR(zzplB::class, $DjACw); goto SL2gT; nQVXd: $Qy0tm = $ggxZJ->getValue($vEnZT); goto UELm9; kOCWj: $ggxZJ->setAccessible(true); goto i9JxL; o8CZC: $ggxZJ = $hEj5B->getProperty("stack"); goto kOCWj; SL2gT: $hEj5B = new ReflectionClass(get_class($DjACw)); goto v5aDt; wWKuS: $WPhTc = array_pop($ac7G3); goto vWRJJ; Szb7Y: $this->H1Zzr($gPZfe, $vEnZT); goto tB11T; abQaB: $hEj5B = new ReflectionClass(get_class($lwUS1)); goto o8CZC; UELm9: $this->xtyRA($GpNBp, $Qy0tm->Yo2KF()); goto jSi7C; ooFKI: $ggxZJ = $hEj5B->getProperty("auth"); goto AzFzr; mYMic: $ggxZJ->setAccessible(true); goto NSRys; i9JxL: $ac7G3 = $ggxZJ->getValue($lwUS1); goto wWKuS; NSRys: $vEnZT = $ggxZJ->getValue($DjACw); goto Szb7Y; Kov9M: $hEj5B = new ReflectionClass(get_class($Qy0tm)); goto nxO5B; v5aDt: $ggxZJ = $hEj5B->getProperty("fetcher"); goto mYMic; h03Bw: } public function VOBHO() { goto bPtIX; z9PsX: $TX13s = new pNBNq(); goto bAAzA; wV6FA: $DeJM1->g0kPr($TX13s); goto kKWyw; bAAzA: $DeJM1->Y649O(["access_token" => "test_token", "expires_in" => 3600, "created" => time()]); goto hMeUP; bPtIX: $DeJM1 = $this->mJU4U(); goto z9PsX; hMeUP: $DeJM1->kpe0N("test_scope"); goto wV6FA; kKWyw: $this->qW5KW($TX13s, "ScopedAccessToken"); goto Bz1fn; Bz1fn: } public function MBKMV() { goto G8trB; FwUH6: $eN46W = $DeJM1->kLGom("http://googleapis.com/scope/foo"); goto Xj7zu; LK_XA: $DeJM1->xb540("clientId1"); goto RTTP3; fbFsI: $this->xTYRA($by84L, $eN46W); goto RCJQF; LJxQD: $this->XtYRA($by84L, $eN46W); goto CEG7m; OkwTn: $DeJM1->rvgxt("offline"); goto oFAEe; m6vi6: $DeJM1->YYGXV("xyz"); goto OkwTn; KjTxv: $DeJM1->xQQfU("http://foo"); goto QJP51; QJP51: $DeJM1->ZZLcG("bob@example.org"); goto knevg; nZJP6: $DeJM1->QVSDK("devKey"); goto m6vi6; AsMll: $DeJM1->lL1o0(true); goto FwUH6; knevg: $eN46W = $DeJM1->KLGOm("http://googleapis.com/scope/foo"); goto sApgh; Xj7zu: $by84L = "https://accounts.google.com/o/oauth2/v2/auth" . "?response_type=code" . "&access_type=offline" . "&client_id=clientId1" . "&redirect_uri=http%3A%2F%2Flocalhost" . "&state=xyz" . "&scope=http%3A%2F%2Fgoogleapis.com%2Fscope%2Ffoo" . "&hd=example.com" . "&include_granted_scopes=true" . "&openid.realm=example.com" . "&prompt=select_account"; goto LJxQD; RCJQF: $DeJM1->ZZLCg(''); goto RYj1r; sApgh: $by84L = "https://accounts.google.com/o/oauth2/v2/auth" . "?response_type=code" . "&access_type=offline" . "&client_id=clientId1" . "&redirect_uri=http%3A%2F%2Flocalhost" . "&state=xyz" . "&scope=http%3A%2F%2Fgoogleapis.com%2Fscope%2Ffoo" . "&approval_prompt=force" . "&login_hint=bob%40example.org"; goto fbFsI; oFAEe: $DeJM1->rd_H7("force"); goto KjTxv; RTTP3: $DeJM1->K1iFI("clientSecret1"); goto fvJKP; CxZ_w: $DeJM1->h_cgV("select_account"); goto AsMll; fvJKP: $DeJM1->NnhQh("http://localhost"); goto nZJP6; RYj1r: $DeJM1->zf7Ye("example.com"); goto YquGN; G8trB: $DeJM1 = $this->MJU4u(); goto LK_XA; YquGN: $DeJM1->V91S8("example.com"); goto CxZ_w; CEG7m: } public function Prq7K() { goto B_Uxi; KNRXT: $M6Ix3 = $DeJM1->xElnm(); goto mGSKu; mGSKu: $this->ZtdtH($M6Ix3); goto Cbfpc; B_Uxi: $DeJM1 = new myGM8(); goto KNRXT; Cbfpc: } public function IVkF4() { $DeJM1 = new Mygm8(); $this->ZtDth($DeJM1->WCSBK()); } public function qhmq2() { goto AFvO2; CRfBg: $DeJM1->KpE0n(["http://test.com", "scope2"]); goto jGlfL; RJxmj: $M6Ix3 = $DeJM1->xelnm(); goto cyLFr; KT1m9: $this->xtyra(" scope2", $M6Ix3); goto T4Xfz; cyLFr: $this->XTyRa("scope1 scope2", $M6Ix3); goto CkTXm; XFbC0: $DeJM1->gaVoq($TX13s->ubION()); goto Owlm6; CkTXm: $DeJM1->KPE0N(['', "scope2"]); goto RdyKV; XuTcj: $DeJM1->xb540("test1"); goto gc_qM; POows: $M6Ix3 = $DeJM1->xelNm(); goto y1UaE; eqkXm: $this->xtyRA('' . "https://accounts.google.com/o/oauth2/v2/auth" . "?response_type=code" . "&access_type=online" . "&client_id=test1" . "&redirect_uri=http%3A%2F%2Flocalhost%2F" . "&state=xyz" . "&scope=http%3A%2F%2Ftest.com%20scope2" . "&approval_prompt=auto", $DeJM1->kLGom()); goto OKpXc; T4Xfz: $DeJM1->Kpe0n("scope2"); goto I3TUZ; RdyKV: $M6Ix3 = $DeJM1->xelNM(); goto KT1m9; SeJXE: $KjTLN->NxUfU()->vyHKW(200); goto hFas5; wwjQD: $DeJM1->IDg7K(["scope4", "scope5"]); goto POows; Owlm6: $RFNr3 = new L8Wjk($DeJM1); goto bbLjU; I_4SS: $this->xtYrA("http://test.com scope2", $M6Ix3); goto eqkXm; OKpXc: $Q9DoV = $this->eQx1m("GuzzleHttp\Psr7\Stream"); goto AKTUd; AKTUd: $Q9DoV->__toString()->vYHKW(''); goto RG3k9; v5mrU: $DeJM1->KPe0n(["scope1", "scope2"]); goto RJxmj; jGlfL: $M6Ix3 = $DeJM1->xElNM(); goto I_4SS; I3TUZ: $DeJM1->idg7K("scope3"); goto wwjQD; bbLjU: $this->h1zzR("Google\Model", $RFNr3->rMJd9->Md2TG()); goto axU1D; RG3k9: $KjTLN = $this->eqx1m("Psr\Http\Message\ResponseInterface"); goto aE5HE; aE5HE: $KjTLN->Hyldc()->ddolA(1)->vyhKw($Q9DoV->UbiOn()); goto SeJXE; UoRYu: $TX13s->send(apkmA::type("Psr\Http\Message\RequestInterface"), [])->dDolA(1)->VyHkW($KjTLN->UBioN()); goto XFbC0; hFas5: $TX13s = $this->EQX1M("GuzzleHttp\ClientInterface"); goto UoRYu; AFvO2: $DeJM1 = new MYgM8(); goto v5mrU; gc_qM: $DeJM1->NnHqH("http://localhost/"); goto PA89K; PA89K: $DeJM1->YyGXV("xyz"); goto CRfBg; y1UaE: $this->xtYrA("scope2 scope3 scope4 scope5", $M6Ix3); goto XuTcj; axU1D: } public function CdNHt() { goto l8rPj; LcpUZ: $zQS3D = $vdoVG->fSAv2(); goto RWY1C; l8rPj: $DeJM1 = new MygM8(); goto quQvv; lAzDE: $this->h1Zzr("Monolog\Logger", $vdoVG); goto LcpUZ; RWY1C: $this->H1Zzr("Monolog\Handler\StreamHandler", $zQS3D); goto Pa_4Z; quQvv: $vdoVG = $DeJM1->k1_0E(); goto lAzDE; Pa_4Z: } public function osrBi() { goto VVvEA; q28LB: $zQS3D = $vdoVG->FSAV2(); goto Btmsj; JMymk: $this->h1ZZR("Monolog\Logger", $vdoVG); goto wCgB6; VVvEA: $_SERVER["SERVER_SOFTWARE"] = "Google App Engine"; goto fm84C; Btmsj: unset($_SERVER["SERVER_SOFTWARE"]); goto JMymk; wCgB6: $this->h1zzr("Monolog\Handler\SyslogHandler", $zQS3D); goto kjV3L; fm84C: $DeJM1 = new MYgm8(); goto CaXi6; CaXi6: $vdoVG = $DeJM1->K1_0E(); goto q28LB; kjV3L: } public function I6mRQ() { goto KDlGR; tbHan: $DeJM1->xB540("client1"); goto mauWu; DFTi5: $DeJM1->yygXV("1"); goto FV8dp; VN6Ii: $DeJM1->ArD2p($kMkU5->UBion()); goto mu80Y; NNAFb: $Sgpmz = ["access_token" => "token"]; goto Bk_SJ; bu3GU: $kMkU5 = $this->eQX1m(a7SV6::class); goto VN6Ii; KDlGR: $DeJM1 = new MyGM8(); goto tbHan; mu80Y: $this->h1zZr(A7Sv6::class, $DeJM1->getCache()); goto Ofd_Q; RM4bh: $this->xTYRa($Sgpmz, $DeJM1->wCsBk()); goto Uw9dK; fbOPx: $DeJM1->tbZWj("application_name", "me"); goto bu3GU; iTd2G: $DeJM1->nnHQh("localhost"); goto fbOPx; Ofd_Q: try { $DeJM1->y649o(null); $this->KYsqs("Should have thrown an Exception."); } catch (InvalidArgumentException $vIBNK) { $this->xtYRA("invalid json token", $vIBNK->getMessage()); } goto NNAFb; mauWu: $DeJM1->k1ifI("client1secret"); goto DFTi5; FV8dp: $DeJM1->rd_H7("force"); goto nu5JE; nu5JE: $DeJM1->rVGXt("offline"); goto iTd2G; Bk_SJ: $DeJM1->Y649o($Sgpmz); goto RM4bh; Uw9dK: } public function wmF9F() { goto gf9l8; gf9l8: $DeJM1 = new myGM8(); goto ZELSS; ZELSS: $DeJM1->Y649o(["access_token" => "token", "created" => time()]); goto FY1dd; FY1dd: self::XtYrA(true, $DeJM1->cT7_t()); goto mOJiA; mOJiA: } public function CB3JR() { goto f5Meq; qxvXt: $this->hRdZm("http_errors", $DeJM1->CiQYs()->L3pQY()); goto ex4IB; ex4IB: $this->Cra9m("exceptions", $DeJM1->Ciqys()->L3PQY()); goto DvSK0; DvSK0: $this->i7dqt($DeJM1->ciQyS()->L3pQy()["http_errors"]); goto ljeng; f5Meq: $DeJM1 = new MYgM8(); goto qxvXt; ljeng: } public function YReQk() { goto kaBHS; Ojybe: $zG1B2 = "{"web":{"auth_uri":"https://accounts.google.com/o/oauth2/v2/auth","client_secret"" . ":"lpoubuib8bj-Fmke_YhhyHGgXc","token_uri":"https://oauth2.googleapis.com/token"" . ","client_email":"123456789@developer.gserviceaccount.com","client_x509_cert_url":" . ""https://www.googleapis.com/robot/v1/metadata/x509/123456789@developer.gserviceaccount.com"" . ","client_id":"123456789.apps.googleusercontent.com","auth_provider_x509_cert_url":" . ""https://www.googleapis.com/oauth2/v1/certs"}}"; goto VJMcy; YGQ8X: $this->xtyRa($DeJM1->Eda9C(), $XVMfF["web"]["client_id"]); goto CYzVU; lqXlF: $UA8Qy = "{"installed":{"auth_uri":"https://accounts.google.com/o/oauth2/v2/auth","client_secret"" . ":"N0aHCBT1qX1VAcF5J1pJAn6S","token_uri":"https://oauth2.googleapis.com/token"," . ""client_email":"","redirect_uris":["urn:ietf:wg:oauth:2.0:oob","oob"],"client_x509_cert_url"" . ":"","client_id":"123456789.apps.googleusercontent.com","auth_provider_x509_cert_url":" . ""https://www.googleapis.com/oauth2/v1/certs"}}"; goto UdyAh; Pauvc: $this->XTyRa($DeJM1->gWm0f(), ''); goto F4AUS; VJMcy: $XVMfF = json_decode($zG1B2, true); goto y7BY3; UdyAh: $M5Beu = json_decode($UA8Qy, true); goto ujM30; y7BY3: $DeJM1->hAN1T($XVMfF); goto YGQ8X; C6ybl: $this->xtYra($DeJM1->Gwm0F(), $M5Beu["installed"]["redirect_uris"][0]); goto s3QYv; ujM30: $DeJM1->HAN1T($M5Beu); goto Z1CLa; gMGuU: $this->XTYRA($DeJM1->D2Z3U(), $M5Beu["installed"]["client_secret"]); goto C6ybl; CYzVU: $this->xtYra($DeJM1->D2Z3U(), $XVMfF["web"]["client_secret"]); goto Pauvc; kaBHS: $DeJM1 = new mygM8(); goto lqXlF; Z1CLa: $this->XTYrA($DeJM1->Eda9c(), $M5Beu["installed"]["client_id"]); goto gMGuU; s3QYv: $DeJM1 = new MYgm8(); goto Ojybe; F4AUS: } public function pAcV5() { goto ch6jQ; ch6jQ: $f5k72 = parse_ini_file(__DIR__ . "/../config/test.ini"); goto o4rvk; kRQ2i: $this->xTyRA("gjfiwnGinpena3", $DeJM1->D2z3u()); goto Q3iOC; o4rvk: $DeJM1 = new MygM8($f5k72); goto du9ye; du9ye: $this->xtYRa("My Test application", $DeJM1->l3PqY("application_name")); goto kRQ2i; Q3iOC: } public function PHGDA() { goto NqwCq; NqwCq: $DeJM1 = new mYGM8(); goto qjOjZ; gkT9m: $TX13s = new pNBnQ(); goto fklRy; larVp: $this->QW5Kw($TX13s, null); goto ybbkr; m4REW: putenv("GOOGLE_APPLICATION_CREDENTIALS="); goto RsATz; pQvBd: $gPLsL = getenv("GOOGLE_APPLICATION_CREDENTIALS"); goto MzrHV; RsATz: putenv("HOME=" . sys_get_temp_dir()); goto gkT9m; qjOjZ: $DeJM1->QVSdk(null); goto pQvBd; rV_Lf: putenv("HOME={$UQW36}"); goto larVp; MzrHV: $UQW36 = getenv("HOME"); goto m4REW; Jkr1l: putenv("GOOGLE_APPLICATION_CREDENTIALS={$gPLsL}"); goto rV_Lf; fklRy: $DeJM1->G0kPR($TX13s); goto Jkr1l; ybbkr: } public function FIlpZ() { goto rLi1Q; M37AN: $DeJM1->HAN1T($x8R94); goto LJeFf; rLi1Q: $this->BssAY(); goto GHtmJ; NUY5k: $this->XGRk7($TX13s, "Google\Auth\Credentials\ServiceAccountCredentials"); goto pAnRp; LJeFf: $TX13s = new PnBNq(); goto YSfQy; BPr9Z: $DeJM1 = new mYgm8(); goto M37AN; YSfQy: $DeJM1->g0kPr($TX13s); goto YTVEt; GHtmJ: $x8R94 = getenv("GOOGLE_APPLICATION_CREDENTIALS"); goto BPr9Z; YTVEt: $this->QW5KW($TX13s, "AuthToken"); goto NUY5k; pAnRp: } public function IjuM0() { goto mkRFh; zIowe: $DeJM1 = new MYGM8(); goto euCBp; Y132Y: $GpNBp = "sub123"; goto zIowe; wcN7u: $DeJM1->G0KPr($TX13s); goto uczGU; euCBp: $DeJM1->hAN1t($x8R94); goto lHlgb; uczGU: $this->qW5kw($TX13s, "AuthToken"); goto laySS; laySS: $this->xgrK7($TX13s, "Google\Auth\Credentials\ServiceAccountCredentials", $GpNBp); goto Ox4DQ; Jz9Ru: $x8R94 = getenv("GOOGLE_APPLICATION_CREDENTIALS"); goto Y132Y; lHlgb: $DeJM1->bk5kE($GpNBp); goto uCDoZ; mkRFh: $this->BSsAy(); goto Jz9Ru; uCDoZ: $TX13s = new pnbNq(); goto wcN7u; Ox4DQ: } public function xOF3c() { goto LDWdk; qH0Xd: $TX13s = $this->eQx1m("GuzzleHttp\ClientInterface"); goto SeJ6V; TCQ35: $Sgpmz = $DeJM1->Wcsbk(); goto Tx79g; aRy_E: $SuLBO->__toString()->ddOLa(1)->VyHKw($Sgpmz); goto HqqqT; qGYXL: $KjTLN->e7Fli("Content-Type")->vYhkW(false); goto qH0Xd; HqqqT: $KjTLN = $this->eqx1M("Psr\Http\Message\ResponseInterface"); goto cNTCU; DdjUM: $DeJM1 = $this->mJU4U(); goto HonYL; AlS2g: $SuLBO = $this->eQx1m("GuzzleHttp\Psr7\Stream"); goto aRy_E; HonYL: $DeJM1->GaVoq($TX13s->ubIoN()); goto ndXyr; SeJ6V: $TX13s->send(aPKMA::type("Psr\Http\Message\RequestInterface"), [])->dDola(1)->VYhkW($KjTLN->ubIOn()); goto DdjUM; cNTCU: $KjTLN->HYldc()->DDOlA(1)->VYHKw($SuLBO->UBIon()); goto qGYXL; Tx79g: $this->XtYRa("ID_TOKEN", $Sgpmz["id_token"]); goto lraL7; ndXyr: $DeJM1->kKInO("REFRESH_TOKEN"); goto TCQ35; LDWdk: $Sgpmz = json_encode(["access_token" => "xyz", "id_token" => "ID_TOKEN"]); goto AlS2g; lraL7: } public function to_0W() { goto sKukO; zgEI2: $KjTLN->e7fli("Content-Type")->VYhkW(false); goto E6pBk; ZMSpd: $SuLBO = $this->Eqx1M("Psr\Http\Message\StreamInterface"); goto TvGvh; iXY_g: $KjTLN = $this->eqX1M("Psr\Http\Message\ResponseInterface"); goto GteQm; TvGvh: $SuLBO->__toString()->DdOLa(1)->vYHKW($Sgpmz); goto iXY_g; zaw54: $TX13s->send(apkMa::type("Psr\Http\Message\RequestInterface"), [])->ddola(1)->VyhkW($KjTLN->UBIon()); goto jY1F7; km58B: $this->XtYra($DGfVo, $Sgpmz["refresh_token"]); goto V1_aS; C8Wqi: $DeJM1->GavOq($TX13s->UbioN()); goto ldqWv; QnMc9: $Sgpmz = json_encode(["access_token" => "xyz", "id_token" => "ID_TOKEN"]); goto ZMSpd; FEOX8: $Sgpmz = $DeJM1->WCSBK(); goto km58B; GteQm: $KjTLN->hYLDC()->DDOlA(1)->vYHkw($SuLBO->uBion()); goto zgEI2; sKukO: $DGfVo = "REFRESH_TOKEN"; goto QnMc9; E6pBk: $TX13s = $this->eQx1M("GuzzleHttp\ClientInterface"); goto zaw54; ldqWv: $DeJM1->KkinO($DGfVo); goto FEOX8; jY1F7: $DeJM1 = $this->mJu4u(); goto C8Wqi; V1_aS: } public function RHajK() { goto NFE8A; nUJkc: $TX13s->send(apKmA::type("Psr\Http\Message\RequestInterface"), [])->DdOlA(1)->vYhkw($KjTLN->uBION()); goto vNf3H; vNf3H: $DeJM1 = $this->MJU4u(); goto JSWXw; NFE8A: $DGfVo = "REFRESH_TOKEN"; goto W401u; lhy3v: $TX13s = $this->eQX1m("GuzzleHttp\ClientInterface"); goto nUJkc; x0TvQ: $SuLBO->__toString()->vYHkW($Sgpmz); goto AFHt_; mbof9: $Sgpmz = $DeJM1->WcSbK(); goto aLiAN; W401u: $Sgpmz = json_encode(["access_token" => "xyz", "id_token" => "ID_TOKEN", "refresh_token" => "NEW_REFRESH_TOKEN"]); goto Y2cEP; JSWXw: $DeJM1->gAvOq($TX13s->uBiOn()); goto GvuLe; aLiAN: $this->XtYra("NEW_REFRESH_TOKEN", $Sgpmz["refresh_token"]); goto atJ8k; GvuLe: $DeJM1->kkInO($DGfVo); goto mbof9; UOaHt: $KjTLN->hYLDc()->VYhkw($SuLBO->UbioN()); goto LDYMV; Y2cEP: $SuLBO = $this->Eqx1M("GuzzleHttp\Psr7\Stream"); goto x0TvQ; AFHt_: $KjTLN = $this->EQx1M("Psr\Http\Message\ResponseInterface"); goto UOaHt; LDYMV: $KjTLN->e7fLI("Content-Type")->vYHkw(false); goto lhy3v; atJ8k: } public function uvZu1() { goto SwjCE; r35CC: $Sgpmz = $DeJM1->d5xdf(); goto Rpr9f; cD17E: $DeJM1 = $this->Mju4U(); goto rxZ8E; rxZ8E: $DeJM1->O9Ugd(); goto r35CC; SwjCE: $this->bsSay(); goto cD17E; Rpr9f: $this->YHDzg($Sgpmz); goto ezhVl; ezhVl: $this->HrDZM("access_token", $Sgpmz); goto OYSq4; OYSq4: } public function rBR4Y() { goto PyHm_; g49pZ: $this->yhdZg($Sgpmz); goto KUaXa; PyHm_: $this->BssAy(); goto bjzNb; KUaXa: $this->HRDZm("access_token", $Sgpmz); goto eJyyU; IsGdR: $DeJM1->hAN1T(getenv("GOOGLE_APPLICATION_CREDENTIALS")); goto qBJ8X; qBJ8X: $Sgpmz = $DeJM1->D5xdF(); goto g49pZ; bjzNb: $DeJM1 = $this->MJU4u(); goto IsGdR; eJyyU: } public function Q4ybb() { goto pMZkO; EjMfl: $this->YHDzG($Sgpmz); goto t7BXc; F5Ice: $Sgpmz = $DeJM1->d5xdF(); goto EjMfl; z2KuK: $DeJM1 = $this->MJU4u(); goto v1vIB; t7BXc: $this->hRdzm("created", $Sgpmz); goto C7GL5; pMZkO: $this->bSSay(); goto z2KuK; v1vIB: $DeJM1->O9ugd(); goto F5Ice; C7GL5: } public function g4IAW() { goto M2B72; oYexa: try { $Sgpmz = $DeJM1->D5xDf($PyiIN); $this->KysQS("no exception thrown"); } catch (YFQ3K $vIBNK) { $KjTLN = $vIBNK->mVX6H(); $this->y3Af0("Invalid impersonation", (string) $KjTLN->hYLDc()); } goto KDn8D; M2B72: $this->bsSAy(); goto Ytce9; XA1FI: $ZzewB = new ReflectionMethod($Pd0f7, "createAuthHttp"); goto wTNEA; Ytce9: $DeJM1 = $this->mJU4U(); goto mEHlN; uPVX6: $Pd0f7 = MkuHc::c81sr(); goto XA1FI; wTNEA: $ZzewB->setAccessible(true); goto w24bO; mEHlN: $DeJM1->o9UgD(); goto pzf7f; pzf7f: $DeJM1->bK5KE("bad-subject"); goto uPVX6; w24bO: $PyiIN = $ZzewB->invoke($Pd0f7, $DeJM1->Ciqys()); goto oYexa; KDn8D: } public function oWodM() { goto bUwrf; PqBkT: $DeJM1->EKqSt($Z4MhN); goto TlxNS; XrPjE: $DeJM1->ARd2p($kMkU5); goto aee7s; G4LO7: $arcIv = $this; goto TidWh; bUwrf: $this->uuQz0(); goto dH50Z; U1pBl: $DeJM1->aRd2p($this->getCache($vAOT0)); goto jE3Nv; cDb4D: $this->BoQW1("Refresh Token required"); goto jq0vU; TlxNS: $TX13s = $DeJM1->g0KPr(); goto LjO5F; IBEWA: $FZ8JL = $DeJM1->WCSBk(); goto XrPjE; LqM0o: if (isset($LETuM["refresh_token"])) { goto MMoMT; } goto cDb4D; dH50Z: $DeJM1 = $this->mjU4u(); goto DZdxj; DZdxj: $LETuM = $DeJM1->wcSbK(); goto LqM0o; SAgh1: $vAOT0 = sys_get_temp_dir() . "/google-api-php-client-tests-" . time(); goto U1pBl; KLdEA: $LETuM["expires_in"] = 0; goto fmf8c; aee7s: $this->u4Zuo($l3xty); goto dIQUG; Uk1h8: $Z4MhN = function ($f0iks, $qnjxh) use($DeJM1, $kMkU5, $arcIv, &$l3xty) { goto yIZzm; cDLh_: $arcIv->yHDZG($qnjxh); goto yPtyx; yIZzm: $arcIv->yHdzg($f0iks); goto cDLh_; E22Yz: $DeJM1->ARd2p($kMkU5); goto MukhZ; yPtyx: $l3xty = true; goto E22Yz; MukhZ: }; goto PqBkT; jE3Nv: $DeJM1->Y649o($LETuM); goto G4LO7; LjO5F: try { $TX13s->get("https://www.googleapis.com/books/v1/volumes?q=Voltaire"); } catch (Exception $vIBNK) { } goto IBEWA; TidWh: $l3xty = false; goto Uk1h8; jq0vU: MMoMT: goto KLdEA; fmf8c: $kMkU5 = $DeJM1->getCache(); goto SAgh1; dIQUG: } public function K5aOX() { goto CkBqX; yuynv: $this->BoQw1("Refresh Token required"); goto wInYc; xR2PD: if (isset($LETuM["refresh_token"])) { goto gSFGv; } goto yuynv; B0CBM: $FZ8JL = $DeJM1->WCSBK(); goto trDEP; Vcdx1: $this->I7dQT($DeJM1->CT7_t()); goto MDRAO; jaa00: $DeJM1 = $this->mJu4u(); goto KK4RK; KK4RK: $LETuM = $DeJM1->wCSbK(); goto xR2PD; a5vTU: try { $TX13s->get("https://www.googleapis.com/books/v1/volumes?q=Voltaire"); } catch (Exception $vIBNK) { } goto B0CBM; e94cP: $DeJM1->y649o($LETuM); goto xMUlf; Cdt7h: $LETuM["expires_in"] = 0; goto e94cP; CkBqX: $this->UUQz0(); goto jaa00; xMUlf: $TX13s = $DeJM1->g0kpR(); goto a5vTU; wInYc: gSFGv: goto Cdt7h; trDEP: $this->EzcI1($LETuM["access_token"], $FZ8JL["access_token"]); goto Vcdx1; MDRAO: } public function vv4PH() { goto O0gTz; HWqZc: $YNIiZ = $this->Eqx1m(a7sv6::class); goto lMUUK; KrogR: $DeJM1->o9UGd(); goto Gealf; O0gTz: if (class_exists(MFhBe::class)) { goto SoC69; } goto etSNH; t734u: $f5eRP->Ldo6j()->vyhkW(true); goto E8uET; etSNH: $this->boqw1("Requires google/auth >= 1.12"); goto vnTfL; N3FrS: $DeJM1->aRD2p($YNIiZ->UBION()); goto KrogR; lpROo: $f5eRP = $this->eQx1m(jQIqH::class); goto t734u; OiWob: $JYlOD = ["gce_prefix" => $lAabQ]; goto lpROo; lMUUK: $YNIiZ->i3FJ5($lAabQ . mfhbe::nqus4)->ddola(1)->vyhkw($f5eRP->ubIon()); goto Yt1Jr; vnTfL: SoC69: goto m9zGS; Yt1Jr: $DeJM1 = new MyGM8(["cache_config" => $JYlOD]); goto N3FrS; teO61: putenv("GOOGLE_APPLICATION_CREDENTIALS="); goto lJt8s; Gealf: $DeJM1->G0KPr(); goto cptEi; lJt8s: $lAabQ = "test_prefix_"; goto OiWob; E8uET: $f5eRP->get()->ddola(1)->vyhkW(true); goto HWqZc; m9zGS: putenv("HOME="); goto teO61; cptEi: } public function LSOc7() { goto KDy4m; RlqOb: $YNIiZ->i3Fj5(ApKMa::uqJuB())->DDOLA(1)->VyhkW($f5eRP->uBION()); goto MbtFz; bwte1: $YNIiZ = $this->eQx1m(A7SV6::class); goto RlqOb; Cx63N: $DeJM1->O9UGd(); goto vLn8S; axxWH: $CD49u = ["access_token" => "2/abcdef1234567890"]; goto kgVxC; KDy4m: $this->bsSAY(); goto axxWH; MbtFz: $DeJM1 = new myGM8(); goto AXbqu; WVyWB: $f5eRP->LDO6J()->ddOLa(1)->vYhkw(true); goto JbE4s; AXbqu: $DeJM1->ard2P($YNIiZ->UbIOn()); goto Cx63N; kgVxC: $f5eRP = $this->EqX1M(JQiQH::class); goto WVyWB; vLn8S: $Sgpmz = $DeJM1->D5XDF(); goto cp3cc; JbE4s: $f5eRP->get()->ddOLa(1)->VyHKW($CD49u); goto bwte1; cp3cc: $this->hRdZm("access_token", $Sgpmz); goto H1R_J; H1R_J: $this->xtyrA($CD49u["access_token"], $Sgpmz["access_token"]); goto jiQHz; jiQHz: } public function gqMNn() { goto d2q7S; d2q7S: $YNIiZ = $this->EqX1m(a7sV6::class); goto NQm8E; OqXQ0: $this->XtYRA($YNIiZ->UbiOn(), $DeJM1->getCache()); goto FKq1w; NQm8E: $DeJM1 = new MyGm8(["cache" => $YNIiZ->UBion()]); goto OqXQ0; FKq1w: } public function bB2Mp() { goto u3Fdk; LxLpM: $DeJM1->execute($lkNbu); goto cSfn1; u3Fdk: $DeJM1 = new mYGM8(["api_format_v2" => true]); goto wp9s1; ZSIjP: $th0RW->send(ApKMA::w4p4R(aPkma::type("Psr\Http\Message\RequestInterface"), APkma::G59F4(function (Y3e3s $lkNbu) { return $lkNbu->o16dR("X-GOOG-API-FORMAT-VERSION") === "2"; })), [])->FqmRE()->vYHKW(new hvqqb(200, [], null)); goto oFqcV; oFqcV: $DeJM1->GAVOQ($th0RW->UBioN()); goto cQXoa; cQXoa: $lkNbu = new HdaUx("POST", "http://foo.bar/"); goto LxLpM; wp9s1: $th0RW = $this->eQX1M("GuzzleHttp\Client"); goto ZSIjP; cSfn1: } public function pNLJb() { goto bxzcY; o6_Xj: $DeJM1->gAvoQ($th0RW->UbioN()); goto Acal6; gw2hM: $th0RW->send(aPKMa::g59f4(function (y3e3s $lkNbu) { goto AccBg; kLnTZ: if (!($lkNbu->o16dr("x-goog-api-client") !== $KvDdc)) { goto a9EyH; } goto AuXmD; uTdV2: return true; goto qXQF6; AccBg: $W1NB1 = sprintf("%s%s", mYGm8::o_KAn, mygm8::FYlDD); goto djgUF; AuXmD: return false; goto f2lkk; f2lkk: a9EyH: goto uTdV2; AgGSu: if (!($lkNbu->o16DR("User-Agent") !== $W1NB1)) { goto QmdFw; } goto cUVY5; cUVY5: return false; goto uy8f8; uy8f8: QmdFw: goto kLnTZ; djgUF: $KvDdc = sprintf("gl-php/%s gdcl/%s", phpversion(), myGM8::FYlDD); goto AgGSu; qXQF6: }), [])->DDolA(1)->VYhkw(new hvQqB(200, [], null)); goto o6_Xj; Acal6: $lkNbu = new hDaUx("POST", "http://foo.bar/"); goto D36Cw; D36Cw: $DeJM1->execute($lkNbu); goto EFEpY; bxzcY: $DeJM1 = new mYGM8(); goto p39pF; p39pF: $th0RW = $this->eQX1m("GuzzleHttp\Client"); goto gw2hM; EFEpY: } public function TkLSL() { goto gaJtS; gaJtS: $yMrLN = ["type" => "service_account", "client_id" => "foo", "client_email" => '', "private_key" => '']; goto yV6W7; fiqbm: $this->Xtyra(["a-scope"], $DeJM1->tLzGY()); goto KUasO; QPZmP: $DeJM1 = new mYgm8(["credentials" => $KzP32]); goto mwdHo; mwdHo: $this->XtyRA("foo", $DeJM1->eda9c()); goto qDcu_; xuh5S: $DeJM1 = new MygM8(["scopes" => "a-scope"]); goto fiqbm; KfF8Y: $this->xTYRa("foo", $DeJM1->eda9C()); goto xuh5S; utpUK: $this->xtyrA("some-quota-project", $jmMNN->eR9m9()); goto uBZ3S; qDcu_: $DeJM1 = new MyGm8(["credentials" => $KzP32]); goto KfF8Y; t5lNI: $ZzewB = new ReflectionMethod($DeJM1, "createApplicationDefaultCredentials"); goto JMPYp; zqg9w: $this->XtyRA(["one-scope", "two-scope"], $DeJM1->TLzGY()); goto c8WWf; c8WWf: $DeJM1 = new MygM8(["quota_project" => "some-quota-project"]); goto eQFWN; KUasO: $DeJM1 = new MYGm8(["scopes" => ["one-scope", "two-scope"]]); goto zqg9w; yV6W7: $KzP32 = tempnam(sys_get_temp_dir(), "creds") . ".json"; goto L5dVP; E4nN4: $jmMNN = $ZzewB->invoke($DeJM1); goto utpUK; eQFWN: $this->xTYra("some-quota-project", $DeJM1->L3pQY("quota_project")); goto sXKhy; L5dVP: file_put_contents($KzP32, json_encode($yMrLN)); goto QPZmP; JMPYp: $ZzewB->setAccessible(true); goto E4nN4; sXKhy: putenv("GOOGLE_APPLICATION_CREDENTIALS=" . $KzP32); goto t5lNI; uBZ3S: } public function Cch4V() { goto TkSqS; re9Kp: $this->YHDzg($lkNbu); goto qMwjI; qMwjI: $sLPhL = $lkNbu->o16dr("authorization"); goto oui8v; oui8v: $this->yhdZg($sLPhL); goto Sdzsf; Sdzsf: $this->xTYra("Bearer abc", $sLPhL); goto N6u8P; EVxAW: $zQS3D->push(apKma::UQjUB(), "google_auth")->nwfsN()->mVPz8(function ($L2cPa) use(&$lkNbu) { goto hi4oO; PTAjC: $cXZWG = $WPhTc(function ($y0c0Q, $JnnHH) use(&$lkNbu) { $lkNbu = $y0c0Q; }); goto qf12e; hi4oO: $WPhTc = $L2cPa[0]; goto PTAjC; qf12e: $cXZWG(new HDAuX("GET", "/fake-uri"), ["auth" => "google_auth"]); goto DOpDE; DOpDE: }); goto HV6Gr; DWn7G: $jmMNN->zO2n4([], null, apkma::uqjub())->nwFsn()->vYHkW(["authorization" => "Bearer abc"]); goto JWjJX; hTIbR: $jmMNN = $this->EQx1m("Google\Auth\CredentialsLoader"); goto NJSyf; vfcGg: $TX13s = $DeJM1->G0kpr($lkHID->UBion()); goto re9Kp; wPuj1: $zQS3D->Bhcj7("google_auth")->Nwfsn(); goto EVxAW; NJSyf: $jmMNN->Nw9tQ()->vyhkW("cache-key"); goto DWn7G; TkSqS: $lkNbu = null; goto hTIbR; DzhNl: $zQS3D = $this->EQx1M("GuzzleHttp\HandlerStack"); goto wPuj1; zs9nc: $lkHID->send(aPKma::uQjUb(), apkMa::uQjuB())->ynGiE(); goto vfcGg; HV6Gr: $lkHID = $this->eQX1M("GuzzleHttp\ClientInterface"); goto oqNB_; oqNB_: $lkHID->l3PQY()->FqMrE()->vYHKw(["handler" => $zQS3D->UbIoN()]); goto zs9nc; JWjJX: $jmMNN->LabUq()->ddoLa(2)->VYHkW(null); goto am3FS; am3FS: $DeJM1 = new mYGm8(["credentials" => $jmMNN->uBIOn()]); goto DzhNl; N6u8P: } public function Kjn9v() { goto MAP5b; moDG4: $xIiyL = "https://foo.com/test2"; goto Bz6Zk; yg9ji: $this->XwBSh(urlencode($maKTg), $G3mv3); goto moDG4; nc2xC: $maKTg = "https://foo.com/test1"; goto oYiym; Bz6Zk: $DeJM1->NNHqH($xIiyL); goto EfhTn; k7jm6: $G3mv3 = $DeJM1->klgoM(); goto yg9ji; I5IGS: $this->xWBsh(urlencode($xIiyL), $vMDJw); goto sz5l2; EfhTn: $vMDJw = $DeJM1->kLgom(); goto I5IGS; MAP5b: $DeJM1 = new mYGM8(); goto nc2xC; oYiym: $DeJM1->NnHQh($maKTg); goto k7jm6; sz5l2: } public function XZI2c() { goto TbJ0X; FbKd9: $G3mv3 = $DeJM1->klgom(null, ["enable_serial_consent" => "true"]); goto OT0Mj; TbJ0X: $DeJM1 = new mYgm8(); goto dC00Q; dC00Q: $DeJM1->NNHqh("https://example.com"); goto FbKd9; OT0Mj: $this->xWBsh("&enable_serial_consent=true", $G3mv3); goto Ffujs; Ffujs: } } ?>