Class OauthPluginTest
- PHPUnit_Framework_TestCase
- Guzzle\Tests\GuzzleTestCase
- Guzzle\Tests\Plugin\Oauth\OauthPluginTest
Namespace: Guzzle\Tests\Plugin\Oauth
Covers: Guzzle\Plugin\Oauth\OauthPlugin
Located at tests/Guzzle/Tests/Plugin/Oauth/OauthPluginTest.php
Covers: Guzzle\Plugin\Oauth\OauthPlugin
Located at tests/Guzzle/Tests/Plugin/Oauth/OauthPluginTest.php
protected
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
testSignsOauthRequests( )
Test that the Oauth is signed correctly and that extra strings haven't been added to the authorization header. |
public
|
|
public
|
|
public
|
|
public
|
string |
TIMESTAMP
|
#
'1327274290'
|
string |
NONCE
|
#
'e7aa11195ca58349bec8b5ebe351d3497eb9e603'
|
protected
array
|
$config
|
#
array(
'consumer_key' => 'foo',
'consumer_secret' => 'bar',
'token' => 'count',
'token_secret' => 'dracula'
)
|
$mockBasePath,
$mockObserver,
$server,
$serviceBuilder
|