OAuth::__construct
(PECL OAuth >= 0.99.1)
Create a new OAuth object
Description
Creates a new OAuth object
Parameters
consumer_keyThe consumer key provided by the service provider.
consumer_secretThe consumer secret provided by the service provider.
signature_methodThis optional parameter defines which signature method to use, by default it is
OAUTH_SIG_METHOD_HMACSHA1(HMAC-SHA1).auth_typeThis optional parameter defines how to pass the OAuth parameters to a consumer, by default it is
OAUTH_AUTH_TYPE_AUTHORIZATION(in theAuthorizationheader).