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::setTokenConfigure le token et le secret

Description

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

Configure le token et le secret pour les prochains appels.

Liste de paramètres

token

Le token OAuth.

token_secret

Le secret OAuth.

Valeurs de retour

TRUE

Exemples

Exemple #1 L'exemple 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 | stats | sitemap | contact | advertising | mirror sites