for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace OAuth\Common\Consumer;
/**
* Value object for the credentials of an OAuth service.
*/
class Credentials implements CredentialsInterface
{
* @var string
protected $consumerId;
protected $consumerSecret;
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;
public function getConsumerId()
return $this->consumerId;
public function getConsumerSecret()
return $this->consumerSecret;