OAuth::__construct
(PECL OAuth >= 0.99.1)
OAuth::__construct — Crea un nuevo objeto OAuth
Descripción
OAuth::__construct
( string $consumer_key
, string $consumer_secret
[, string $signature_method = OAUTH_SIG_METHOD_HMACSHA1
[, int $auth_type = 0
]] )
Crea un nuevo objeto OAuth
Parámetros
- consumer_key
-
La clave de lectura proporcionada por el proveedor de servicios.
- consumer_secret
-
El secreto de lectura proporcionada por el proveedor de servicios.
- signature_method
-
Este parámetro es opcional define cual método usar, por omisión es OAUTH_SIG_METHOD_HMACSHA1 (HMAC-SHA1).
- auth_type
-
Este parámetro es opcional define como pasar los parámetros OAuth al lector, por omisión es OAUTH_AUTH_TYPE_AUTHORIZATION (en la cabecerá Authorization).
There are no user contributed notes for this page.
