(PECL OAuth >= 0.99.1)
OAuth::__construct — Create a new OAuth object
Creates a new OAuth object
The consumer key provided by the service provider.
The consumer secret provided by the service provider.
This optional parameter defines which signature method to use, by default it is OAUTH_SIG_METHOD_HMACSHA1 (HMAC-SHA1).
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).