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

search for in the

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

view this page in

OAuth::setToken

(PECL OAuth >= 0.99.1)

OAuth::setTokenEstablece el token y el secreto

Descripción

public bool OAuth::setToken ( string $token , string $token_secret )

Establece el token y el secreto para las subsecuentes peticiones.

Parámetros

token

El token OAuth.

token_secret

El secreto OAuth.

Valores devueltos

TRUE

Ejemplos

Ejemplo #1 Ejemplo OAuth::setToken()

<?php
$oauth 
= new OAuth(OAUTH_CONSUMER_KEY,OAUTH_CONSUMER_SECRET);
$oauth->setToken("token","token-secret");
?>



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

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