List of all members.
Constructor & Destructor Documentation
Constructor.
- Parameters:
-
OAuthRequest | $request | |
string | $requestToCheck | (consumer | authorize | request | access) |
- Exceptions:
-
Member Function Documentation
Add a signature method.
- Parameters:
-
Check the required parameters each time the provider gets a resource consumption request.
- Exceptions:
-
- Returns:
- boolean
Check required parameters in the authorization oauth step.
- Exceptions:
-
Check required parameters in the request token step.
- Exceptions:
-
- Returns:
- boolean
Check the required parameters in the access token request step.
- Exceptions:
-
- Returns:
- boolean
Process an access_token request.
- Returns:
- OAuthToken
Process a request_token request.
- Returns:
- OAuthToken
Generate and store a verifier code.
- Returns:
- string
Retrieve the callback URL for a consumer.
- Exceptions:
-
- Returns:
- string
Get the user id.
- Returns:
- The userID
- Exceptions:
-
Check if the consumer app has been approved to consume resources.
- Exceptions:
-
Redirect the browser to a given url. It could be set a message to send as GET parameter.
- Parameters:
-
Redirect the consumer to the callback URL.
- Parameters:
-
string | $callback | |
string | $verifier | |
Sends the response to the consumer (require pecl_http to work).
- Parameters:
-
string | $response | |
integer | $statusCode | |
Sends the response to the consumer (require pecl_http to work).
- Parameters:
-
This method is used only to check the temporary and access credentials, (access token and API consumption steps). It can't be used in the request token and authorization steps.
- Parameters:
-
- Exceptions:
-
Member Data Documentation
OAuthProvider::$ds [protected] |
OAuthProvider::$signatureMethods = array() [protected] |
OAuthProvider::$timestampThreshold = 300 [protected] |
OAuthProvider::$version = "1.0" [protected] |
The documentation for this class was generated from the following file: