[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/include/Zend/Oauth/ -> Http.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: Http.php 24593 2012-01-05 20:35:02Z matthew $
File Size: 266 lines (8 kb)
Included or required: 5 times
Referenced: 0 times
Includes or requires: 3 files
 include/Zend/Oauth/Exception.php
 include/Zend/Oauth/Http/Utility.php
 include/Zend/Uri/Http.php

Defines 1 class

Zend_Oauth_Http:: (10 methods):
  __construct()
  setMethod()
  getMethod()
  setParameters()
  getParameters()
  getConsumer()
  startRequestCycle()
  getRequestSchemeQueryStringClient()
  _assessRequestAttempt()
  _toAuthorizationHeader()


Class: Zend_Oauth_Http  - X-Ref


__construct(Zend_Oauth_Consumer $consumer,array $parameters = null,Zend_Oauth_Http_Utility $utility = null)   X-Ref
Constructor

param: Zend_Oauth_Consumer $consumer
param: null|array $parameters
param: null|Zend_Oauth_Http_Utility $utility
return: void

setMethod($method)   X-Ref
Set a preferred HTTP request method.

param: string $method
return: Zend_Oauth_Http

getMethod()   X-Ref
Preferred HTTP request method accessor.

return: string

setParameters(array $customServiceParameters)   X-Ref
Mutator to set an array of custom parameters for the HTTP request.

param: array $customServiceParameters
return: Zend_Oauth_Http

getParameters()   X-Ref
Accessor for an array of custom parameters.

return: array

getConsumer()   X-Ref
Return the Consumer instance in use.

return: Zend_Oauth_Consumer

startRequestCycle(array $params)   X-Ref
Commence a request cycle where the current HTTP method and OAuth
request scheme set an upper preferred HTTP request style and where
failures generate a new HTTP request style further down the OAuth
preference list for OAuth Request Schemes.
On success, return the Request object that results for processing.

param: array $params
return: Zend_Http_Response

getRequestSchemeQueryStringClient(array $params, $url)   X-Ref
Return an instance of Zend_Http_Client configured to use the Query
String scheme for an OAuth driven HTTP request.

param: array $params
param: string $url
return: Zend_Http_Client

_assessRequestAttempt(Zend_Http_Response $response = null)   X-Ref
Manages the switch from OAuth request scheme to another lower preference
scheme during a request cycle.

param: Zend_Http_Response
return: void

_toAuthorizationHeader(array $params, $realm = null)   X-Ref
Generates a valid OAuth Authorization header based on the provided
parameters and realm.

param: array $params
param: string $realm
return: string



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