3 use PayPal\Auth\IPPThirdPartyAuthorization;
6 * Represents token based third party authorization
7 * Token based authorization credentials are obtained using
10 class PPTokenAuthorization implements IPPThirdPartyAuthorization {
13 * Permanent access token that identifies the relationship
14 * between the authorizing user and the API caller.
20 * The token secret/password that will need to be used when
21 * generating the signature.
26 public function __construct($accessToken, $tokenSecret) {
27 $this->accessToken = $accessToken;
28 $this->tokenSecret = $tokenSecret;
31 public function getAccessToken() {
32 return $this->accessToken;
35 public function getTokenSecret() {
36 return $this->tokenSecret;