From: Michael J. Rubinsky Date: Sun, 19 Jul 2009 18:28:54 +0000 (-0400) Subject: Add constants for the various URLs needed for OAuth X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=13e44a5ff17c274d8bb6cbd63fcbf3de7b0aa615;p=horde.git Add constants for the various URLs needed for OAuth --- diff --git a/framework/Service_Twitter/lib/Horde/Service/Twitter.php b/framework/Service_Twitter/lib/Horde/Service/Twitter.php index 9584d44fb..5a35a82b9 100644 --- a/framework/Service_Twitter/lib/Horde/Service/Twitter.php +++ b/framework/Service_Twitter/lib/Horde/Service/Twitter.php @@ -13,6 +13,9 @@ class Horde_Service_Twitter { + const REQUEST_TOKEN_URL = 'http://twitter.com/oauth/request_token'; + const USER_AUTHORIZE_URL = 'http://twitter.com/oauth/authorize'; + const ACCESS_TOKEN_URL = 'http://twitter.com/oauth/access_token'; /** * Cache for the various objects we lazy load in __get() *