One Hat Cyber Team
Your IP :
18.117.7.15
Server IP :
50.28.103.30
Server :
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software :
nginx/1.24.0
PHP Version :
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
globify.live
/
fns
/
hybridauth
/
Provider
/
View File Name :
PaypalOpenID.php
<?php /*! * Hybridauth * https://hybridauth.github.io | https://github.com/hybridauth/hybridauth * (c) 2017 Hybridauth authors | https://hybridauth.github.io/license.html */ namespace Hybridauth\Provider; use Hybridauth\Adapter\OpenID; use Hybridauth\HttpClient; /** * PayPal OpenID provider adapter. */ class PaypalOpenID extends OpenID { /** * {@inheritdoc} */ protected $openidIdentifier = 'https://www.sandbox.paypal.com/webapps/auth/server'; /** * {@inheritdoc} */ protected $apiDocumentation = 'https://developer.paypal.com/docs/connect-with-paypal/'; /** * {@inheritdoc} */ public function authenticateBegin() { $this->openIdClient->identity = $this->openidIdentifier; $this->openIdClient->returnUrl = $this->callback; $this->openIdClient->required = [ 'namePerson/prefix', 'namePerson/first', 'namePerson/last', 'namePerson/middle', 'namePerson/suffix', 'namePerson/friendly', 'person/guid', 'birthDate/birthYear', 'birthDate/birthMonth', 'birthDate/birthday', 'gender', 'language/pref', 'contact/phone/default', 'contact/phone/home', 'contact/phone/business', 'contact/phone/cell', 'contact/phone/fax', 'contact/postaladdress/home', 'contact/postaladdressadditional/home', 'contact/city/home', 'contact/state/home', 'contact/country/home', 'contact/postalcode/home', 'contact/postaladdress/business', 'contact/postaladdressadditional/business', 'contact/city/business', 'contact/state/business', 'contact/country/business', 'contact/postalcode/business', 'company/name', 'company/title', ]; HttpClient\Util::redirect($this->openIdClient->authUrl()); } }