[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/include/Zend/Oauth/Http/ -> Utility.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id: Utility.php 24593 2012-01-05 20:35:02Z matthew $
File Size: 217 lines (6 kb)
Included or required: 4 times
Referenced: 0 times
Includes or requires: 2 files
 include/Zend/Oauth/Http.php
 include/Zend/Oauth.php

Defines 1 class

Zend_Oauth_Http_Utility:: (8 methods):
  assembleParams()
  toEncodedQueryString()
  toAuthorizationHeader()
  sign()
  parseQueryString()
  generateNonce()
  generateTimestamp()
  urlEncode()


Class: Zend_Oauth_Http_Utility  - X-Ref


assembleParams($url,Zend_Oauth_Config_ConfigInterface $config,array $serviceProviderParams = null)   X-Ref
Assemble all parameters for a generic OAuth request - i.e. no special
params other than the defaults expected for any OAuth query.

param: string $url
param: Zend_Oauth_Config_ConfigInterface $config
param: null|array $serviceProviderParams
return: array

toEncodedQueryString(array $params, $customParamsOnly = false)   X-Ref
Given both OAuth parameters and any custom parametere, generate an
encoded query string. This method expects parameters to have been
assembled and signed beforehand.

param: array $params
param: bool $customParamsOnly Ignores OAuth params e.g. for requests using OAuth Header
return: string

toAuthorizationHeader(array $params, $realm = null, $excludeCustomParams = true)   X-Ref
Cast to authorization header

param: array $params
param: null|string $realm
param: bool $excludeCustomParams
return: void

sign(array $params, $signatureMethod, $consumerSecret, $tokenSecret = null, $method = null, $url = null)   X-Ref
Sign request

param: array $params
param: string $signatureMethod
param: string $consumerSecret
param: null|string $tokenSecret
param: null|string $method
param: null|string $url
return: string

parseQueryString($query)   X-Ref
Parse query string

param: mixed $query
return: array

generateNonce()   X-Ref
Generate nonce

return: string

generateTimestamp()   X-Ref
Generate timestamp

return: int

urlEncode($value)   X-Ref
urlencode a value

param: string $value
return: string



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1