Build authorization header, check for missing oauth_token and oauth_consumer_key
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 18 Jul 2009 22:07:30 +0000 (18:07 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 18 Jul 2009 22:07:30 +0000 (18:07 -0400)
commit16804839127f54b54fc776a4fc5cbbc1f058570d
treedab864b4ee41845ecdf3a66b0d1412d6323863f7
parent624e5ef2946fc7929eabdfd2e4d6516daa51f50b
Build authorization header, check for missing oauth_token and oauth_consumer_key

Add method to Horde_Oauth_Request that builds an OAuth Authorization header
(http://oauth.net/core/1.0#auth_header)

Allow H_O_Request to obtain the *required* oauth_consumer_key and the oauth_token
values from the Consumer and Token objects respectively so that client code doesn't
have to awkardly pass them in both the Horde_Oauth_Consumer const'r and in the
Horde_Oauth_Request const'r

Add method to build an OAuth Authorization Header
framework/Oauth/lib/Horde/Oauth/Request.php