OAuth/src/GaryJones/OAuth/Consumer.php
Gary Jones 63b4a0f58d Made package PSR-2 compatible.
Since this is a fork, also renamed the namespaces and containing folder.
2012-11-17 21:13:44 +00:00

21 lines
392 B
PHP

<?php
namespace GaryJones\OAuth;
class Consumer
{
public $key;
public $secret;
public function __construct($key, $secret, $callback_url = null)
{
$this->key = $key;
$this->secret = $secret;
$this->callback_url = $callback_url;
}
public function __toString()
{
return "OAuthConsumer[key=$this->key,secret=$this->secret]";
}
}