summaryrefslogtreecommitdiff
path: root/hauth/Hybrid/Providers/PaypalOpenID.php
diff options
context:
space:
mode:
Diffstat (limited to 'hauth/Hybrid/Providers/PaypalOpenID.php')
-rw-r--r--hauth/Hybrid/Providers/PaypalOpenID.php268
1 files changed, 134 insertions, 134 deletions
diff --git a/hauth/Hybrid/Providers/PaypalOpenID.php b/hauth/Hybrid/Providers/PaypalOpenID.php
index 6d4b9eb..b53ffba 100644
--- a/hauth/Hybrid/Providers/PaypalOpenID.php
+++ b/hauth/Hybrid/Providers/PaypalOpenID.php
@@ -10,7 +10,7 @@
*/
class Hybrid_Providers_PaypalOpenID extends Hybrid_Provider_Model_OpenID
{
- var $openidIdentifier = "https://www.sandbox.paypal.com/webapps/auth/server";
+ var $openidIdentifier = "https://www.sandbox.paypal.com/webapps/auth/server";
/**
* begin login step
@@ -23,7 +23,7 @@ class Hybrid_Providers_PaypalOpenID extends Hybrid_Provider_Model_OpenID
$this->api->identity = $this->openidIdentifier;
$this->api->returnUrl = $this->endpoint;
- $this->api->required = ARRAY(
+ $this->api->required = [
/*'namePerson/first' ,
'namePerson/last' ,
'namePerson/friendly' ,
@@ -43,139 +43,139 @@ class Hybrid_Providers_PaypalOpenID extends Hybrid_Provider_Model_OpenID
'contact/city/home' ,
'contact/country/home' ,
- 'media/image/default' ,*/
+ 'media/image/default' ,*/
- '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',
- /*'contact/IM/default',
- 'contact/IM/AIM',
- 'contact/IM/ICQ',
- 'contact/IM/MSN',
- 'contact/IM/Yahoo',
- 'contact/IM/Jabber',
- 'contact/IM/Skype',
- 'contact/internet/email',
- 'contact/web/default',
- 'contact/web/blog',
- 'contact/web/Linkedin',
- 'contact/web/Amazon',
- 'contact/web/Flickr',
- 'contact/web/Delicious',*/
- 'company/name',
- 'company/title',
- /*'media/spokenname',
- 'media/greeting/audio',
- 'media/greeting/video',
- 'media/biography',
- 'media/image',
- 'media/image/16x16',
- 'media/image/32x32',
- 'media/image/48x48',
- 'media/image/64x64',
- 'media/image/80x80',
- 'media/image/128x128',
- 'media/image/160x120',
- 'media/image/320x240',
- 'media/image/640x480',
- 'media/image/120x160',
- 'media/image/240x320',
- 'media/image/480x640',
- 'media/image/favicon',
- 'timezone',*/
- );
- $this->api->optional = array();ARRAY(
- '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',
- /*'contact/IM/default',
- 'contact/IM/AIM',
- 'contact/IM/ICQ',
- 'contact/IM/MSN',
- 'contact/IM/Yahoo',
- 'contact/IM/Jabber',
- 'contact/IM/Skype',
- 'contact/internet/email',
- 'contact/web/default',
- 'contact/web/blog',
- 'contact/web/Linkedin',
- 'contact/web/Amazon',
- 'contact/web/Flickr',
- 'contact/web/Delicious',*/
- 'company/name',
- 'company/title',
- /*'media/spokenname',
- 'media/greeting/audio',
- 'media/greeting/video',
- 'media/biography',
- 'media/image',
- 'media/image/16x16',
- 'media/image/32x32',
- 'media/image/48x48',
- 'media/image/64x64',
- 'media/image/80x80',
- 'media/image/128x128',
- 'media/image/160x120',
- 'media/image/320x240',
- 'media/image/640x480',
- 'media/image/120x160',
- 'media/image/240x320',
- 'media/image/480x640',
- 'media/image/favicon',
- 'timezone',*/
- );
+ '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',
+ /*'contact/IM/default',
+ 'contact/IM/AIM',
+ 'contact/IM/ICQ',
+ 'contact/IM/MSN',
+ 'contact/IM/Yahoo',
+ 'contact/IM/Jabber',
+ 'contact/IM/Skype',
+ 'contact/internet/email',
+ 'contact/web/default',
+ 'contact/web/blog',
+ 'contact/web/Linkedin',
+ 'contact/web/Amazon',
+ 'contact/web/Flickr',
+ 'contact/web/Delicious',*/
+ 'company/name',
+ 'company/title',
+ /*'media/spokenname',
+ 'media/greeting/audio',
+ 'media/greeting/video',
+ 'media/biography',
+ 'media/image',
+ 'media/image/16x16',
+ 'media/image/32x32',
+ 'media/image/48x48',
+ 'media/image/64x64',
+ 'media/image/80x80',
+ 'media/image/128x128',
+ 'media/image/160x120',
+ 'media/image/320x240',
+ 'media/image/640x480',
+ 'media/image/120x160',
+ 'media/image/240x320',
+ 'media/image/480x640',
+ 'media/image/favicon',
+ 'timezone',*/
+ ];
+ $this->api->optional = [];[
+ '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',
+ /*'contact/IM/default',
+ 'contact/IM/AIM',
+ 'contact/IM/ICQ',
+ 'contact/IM/MSN',
+ 'contact/IM/Yahoo',
+ 'contact/IM/Jabber',
+ 'contact/IM/Skype',
+ 'contact/internet/email',
+ 'contact/web/default',
+ 'contact/web/blog',
+ 'contact/web/Linkedin',
+ 'contact/web/Amazon',
+ 'contact/web/Flickr',
+ 'contact/web/Delicious',*/
+ 'company/name',
+ 'company/title',
+ /*'media/spokenname',
+ 'media/greeting/audio',
+ 'media/greeting/video',
+ 'media/biography',
+ 'media/image',
+ 'media/image/16x16',
+ 'media/image/32x32',
+ 'media/image/48x48',
+ 'media/image/64x64',
+ 'media/image/80x80',
+ 'media/image/128x128',
+ 'media/image/160x120',
+ 'media/image/320x240',
+ 'media/image/640x480',
+ 'media/image/120x160',
+ 'media/image/240x320',
+ 'media/image/480x640',
+ 'media/image/favicon',
+ 'timezone',*/
+ ];
# redirect the user to the provider authentication url
Hybrid_Auth::redirect( $this->api->authUrl() );