aboutsummaryrefslogtreecommitdiff
path: root/vendor/eher/oauth/src/Eher/OAuth/Consumer.php
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2023-05-22 15:19:08 -0500
committerChristian Cleberg <hello@cleberg.net>2023-05-22 15:19:08 -0500
commit39e8fb2036945303836c461a61f133b0059c8991 (patch)
tree39b747cf3c9eb82af48117781a436a91f1314776 /vendor/eher/oauth/src/Eher/OAuth/Consumer.php
downloadvox-populi-39e8fb2036945303836c461a61f133b0059c8991.tar.gz
vox-populi-39e8fb2036945303836c461a61f133b0059c8991.tar.bz2
vox-populi-39e8fb2036945303836c461a61f133b0059c8991.zip
initial commit
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]";
+ }
+}
+