HTTP_OAuth
[ class tree: HTTP_OAuth ] [ index: HTTP_OAuth ] [ all elements ]

Class: HTTP_OAuth_Consumer_Response

Source Location: /HTTP_OAuth-0.3.1/HTTP/OAuth/Consumer/Response.php

Class Overview

HTTP_OAuth
   |
   --HTTP_OAuth_Message
      |
      --HTTP_OAuth_Consumer_Response

HTTP_OAuth_Consumer_Response


Author(s):

Copyright:

  • 2009 Jeff Hodsdon <jeffhodsdon@gmail.com>

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 42]
HTTP_OAuth_Consumer_Response

Class to handle OAuth responses from a provider. Accepts and decorates a HTTP_Request2_Response instance



[ Top ]


Class Variables

$response =  null

[line 50]

Instance of HTTP_Request2_Response
  • Var: Response from the HTTP_Request2
  • Access: protected

Type:   HTTP_Request2_Response


[ Top ]



Method Detail

__construct (Constructor)   [line 59]

void __construct( HTTP_Request2_Response $response)

Construct
  • Access: public

Parameters:

HTTP_Request2_Response   $response   —  Response from HTTP_Request2

[ Top ]

getDataFromBody   [line 71]

array getDataFromBody( )

Gets data from body

If body is and OAuth specific query string, parse and return

  • Return: Query string data
  • Access: public

[ Top ]

getResponse   [line 83]

HTTP_Request2_Response getResponse( )

Gets HTTP_Request2_Response
  • Return: Instance of the current HTTP_Request2_Response
  • Access: public

[ Top ]

__call   [line 101]

mixed __call( string $method, array $args)

Call

If method exists on HTTP_Request2_Response pass to that, otherwise throw BadMethodCallException

  • Return: Result from method
  • Throws: BadMethodCallException When method does not exist on
  • Access: public

Parameters:

string   $method   —  Name of the method
array   $args   —  Arguments for the method

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:55:06 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.