]> git.mxchange.org Git - friendica.git/blob - src/Security/OAuth1/OAuthConsumer.php
Fix notices
[friendica.git] / src / Security / OAuth1 / OAuthConsumer.php
1 <?php
2
3 namespace Friendica\Security\OAuth1;
4
5 class OAuthConsumer
6 {
7         public $key;
8         public $secret;
9         public $callback_url;
10
11         function __construct($key, $secret, $callback_url = null)
12         {
13                 $this->key          = $key;
14                 $this->secret       = $secret;
15                 $this->callback_url = $callback_url;
16         }
17
18         function __toString()
19         {
20                 return "OAuthConsumer[key=$this->key,secret=$this->secret]";
21         }
22 }