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

search for in the

OAuth::__destruct> <OAuth
[edit] Last updated: Fri, 17 May 2013

view this page in

OAuth::__construct

(PECL OAuth >= 0.99.1)

OAuth::__constructCrea un nuevo objeto OAuth

Descripción

public 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).



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

 
show source | credits | sitemap | contact | advertising | mirror sites