34 lines
629 B
PHP
34 lines
629 B
PHP
<?php
|
|
/**
|
|
* 2007-2015 Leotheme
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* Leo Quick Login And Social Login
|
|
*
|
|
* DISCLAIMER
|
|
*
|
|
* @author leotheme <leotheme@gmail.com>
|
|
* @copyright 2007-2015 Leotheme
|
|
* @license http://leotheme.com - prestashop template provider
|
|
*/
|
|
|
|
class OAuthConsumer
|
|
{
|
|
|
|
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]";
|
|
}
|
|
}
|