aboutsummaryrefslogtreecommitdiff
path: root/vendor/eher/oauth/src/Eher/OAuth/Consumer.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/eher/oauth/src/Eher/OAuth/Consumer.php')
-rw-r--r--vendor/eher/oauth/src/Eher/OAuth/Consumer.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/vendor/eher/oauth/src/Eher/OAuth/Consumer.php b/vendor/eher/oauth/src/Eher/OAuth/Consumer.php
new file mode 100644
index 0000000..44dbc59
--- /dev/null
+++ b/vendor/eher/oauth/src/Eher/OAuth/Consumer.php
@@ -0,0 +1,19 @@
+<?php
+
+namespace Eher\OAuth;
+
+class Consumer {
+ public $key;
+ public $secret;
+
+ function __construct($key, $secret, $callback_url=NULL) {
+ $this->key = $key;
+ $this->secret = $secret;
+ $this->callback_url = $callback_url;
+ }
+
+ function __toString() {
+ return "Consumer[key=$this->key,secret=$this->secret]";
+ }
+}
+