27f1f8f800cabf55c5de8be80d85acc3c06a32ee
[WP-Plugins/glm-member-db-registrations.git] /
1 <?php
2 namespace PayPal\Auth;
3 /**
4  *
5  * Represents the older subject based "third party authorization"
6  * New apps can use the more flexible token based authorization
7  */
8 class PPSubjectAuthorization implements IPPThirdPartyAuthorization {
9
10         /**
11          * Paypal emailid of the party who has granted API rights
12          * to the API caller. Your API username must have been 
13          * granted permission by this third-party to make any particular 
14          * PayPal API request.
15          * @var string
16          */
17         private $subject;
18         
19         public function __construct($subject) {
20                 $this->subject = $subject;
21         }
22         
23         public function getSubject() {
24                 return $this->subject;
25         }
26 }