API Documentation

Oauth/Signature/SignatureAbstract.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Oauth
version
$Id: SignatureAbstract.php 20217 2010-01-12 16:01:57Z matthew $
Classes
Zend_Oauth_Signature_SignatureAbstract

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Oauth_Signature_SignatureAbstract

category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Oauth
Properties
$_hashAlgorithm
$_key
$_consumerSecret
$_tokenSecret
Methods
__construct
sign
normaliseBaseSignatureUrl
_assembleKey
_getBaseSignatureString
_toByteValueOrderedQueryString

Description

Properties

$_consumerSecret

string $_consumerSecret = 'null'

Consumer secret

Details

$_consumerSecret
string
visibility
protected
default
null
final
false
static
false

$_hashAlgorithm

string $_hashAlgorithm = 'null'

Hash algorithm to use when generating signature

Details

$_hashAlgorithm
string
visibility
protected
default
null
final
false
static
false

$_key

string $_key = 'null'

Key to use when signing

Details

$_key
string
visibility
protected
default
null
final
false
static
false

$_tokenSecret

string $_tokenSecret = ''

Token secret

Details

$_tokenSecret
string
visibility
protected
default
final
false
static
false

Methods

__construct

__construct( string $consumerSecret, null|string $tokenSecret = null, null|string $hashAlgo = null ) : void

Constructor

Arguments
$consumerSecret
string
$tokenSecret
nullstring
$hashAlgo
nullstring
Details
visibility
public
final
false
static
false

_assembleKey

_assembleKey( ) : string

Assemble key from consumer and token secrets

Output
string
Details
visibility
protected
final
false
static
false

_getBaseSignatureString

_getBaseSignatureString( array $params, null|string $method = null, null|string $url = null ) : string

Get base signature string

Arguments
$params
array
$method
nullstring
$url
nullstring
Output
string
Details
visibility
protected
final
false
static
false

_toByteValueOrderedQueryString

_toByteValueOrderedQueryString( array $params ) : string

Transform an array to a byte value ordered query string

Arguments
$params
array
Output
string
Details
visibility
protected
final
false
static
false

normaliseBaseSignatureUrl

normaliseBaseSignatureUrl( string $url ) : string

Normalize the base signature URL

Arguments
$url
string
Output
string
Details
visibility
public
final
false
static
false

sign

sign( array $params, null|string $method = null, null|string $url = null ) : string

Sign a request

Arguments
$params
array
$method
nullstring
$url
nullstring
Output
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.