downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

OAuth::disableDebug> <OAuth
Last updated: Fri, 20 Nov 2009

view this page in

OAuth::__construct

(PECL OAuth >= 0.99.1)

OAuth::__constructCreate a new OAuth object

Description

OAuth::__construct ( string $consumer_key , string $consumer_secret [, string $signature_method [, string $auth_type ]] )

Creates a new OAuth object

Parameters

consumer_key

The consumer key provided by the service provider.

consumer_secret

The consumer secret provided by the service provider.

signature_method

This optional parameter defines which signature method to use, by default it is OAUTH_SIG_METHOD_HMACSHA1 (HMAC-SHA1).

auth_type

This optional parameter defines how to pass the OAuth parameters to a consumer, by default it is OAUTH_AUTH_TYPE_AUTHORIZATION (in the Authorization header).



add a note add a note User Contributed Notes
OAuth::__construct
There are no user contributed notes for this page.

OAuth::disableDebug> <OAuth
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites