Skip to content
Snippets Groups Projects
Unverified Commit b76ea672 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files
parent 6d2ac8b4
No related branches found
No related tags found
No related merge requests found
...@@ -12,13 +12,15 @@ if (!class_exists('OAuthException')) { ...@@ -12,13 +12,15 @@ if (!class_exists('OAuthException')) {
/* /*
* Generic exception class * Generic exception class
*/ */
class OAuthException extends Exception { class OAuthException extends Exception
{
// pass // pass
} }
} }
if (!class_exists('OAuthConsumer')) { if (!class_exists('OAuthConsumer')) {
class OAuthConsumer { class OAuthConsumer
{
public $key; public $key;
public $secret; public $secret;
public $callback_url; public $callback_url;
...@@ -37,7 +39,8 @@ if (!class_exists('OAuthConsumer')) { ...@@ -37,7 +39,8 @@ if (!class_exists('OAuthConsumer')) {
} }
} }
class OAuthToken { class OAuthToken
{
// access tokens and request tokens // access tokens and request tokens
public $key; public $key;
public $secret; public $secret;
...@@ -65,7 +68,8 @@ class OAuthToken { ...@@ -65,7 +68,8 @@ class OAuthToken {
"&oauth_callback_confirmed=true"; "&oauth_callback_confirmed=true";
} }
public function __toString() { public function __toString()
{
return $this->to_string(); return $this->to_string();
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment