diff options
Diffstat (limited to 'vendor/OAuth/Common/Consumer/Credentials.php')
-rwxr-xr-x | vendor/OAuth/Common/Consumer/Credentials.php | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/vendor/OAuth/Common/Consumer/Credentials.php b/vendor/OAuth/Common/Consumer/Credentials.php deleted file mode 100755 index 8e98e9fa..00000000 --- a/vendor/OAuth/Common/Consumer/Credentials.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php - -namespace OAuth\Common\Consumer; - -/** - * Value object for the credentials of an OAuth service. - */ -class Credentials implements CredentialsInterface -{ - /** - * @var string - */ - protected $consumerId; - - /** - * @var string - */ - protected $consumerSecret; - - /** - * @var string - */ - protected $callbackUrl; - - /** - * @param string $consumerId - * @param string $consumerSecret - * @param string $callbackUrl - */ - public function __construct($consumerId, $consumerSecret, $callbackUrl) - { - $this->consumerId = $consumerId; - $this->consumerSecret = $consumerSecret; - $this->callbackUrl = $callbackUrl; - } - - /** - * @return string - */ - public function getCallbackUrl() - { - return $this->callbackUrl; - } - - /** - * @return string - */ - public function getConsumerId() - { - return $this->consumerId; - } - - /** - * @return string - */ - public function getConsumerSecret() - { - return $this->consumerSecret; - } -} |