Class to represent an OAuth Server. More...
Public Member Functions | |
| __construct ($data_store) | |
| add_signature_method ($signature_method) | |
| fetch_request_token (&$request) | |
| process a request_token request returns the request token on success More... | |
| fetch_access_token (&$request) | |
| process an access_token request returns the access token on success More... | |
| verify_request (&$request) | |
| verify an api call, checks all the parameters More... | |
Protected Attributes | |
| $timestamp_threshold = 300 | |
| $version = '1.0' | |
| $signature_methods = array() | |
| $data_store | |
Class to represent an OAuth Server.
Definition at line 12 of file OAuthServer.php.
| __construct | ( | $data_store | ) |
Definition at line 20 of file OAuthServer.php.
References OAuthServer\$data_store.
| add_signature_method | ( | $signature_method | ) |
Definition at line 24 of file OAuthServer.php.
| fetch_access_token | ( | & | $request | ) |
process an access_token request returns the access token on success
Definition at line 57 of file OAuthServer.php.
| fetch_request_token | ( | & | $request | ) |
process a request_token request returns the request token on success
Definition at line 34 of file OAuthServer.php.
| verify_request | ( | & | $request | ) |
verify an api call, checks all the parameters
Definition at line 79 of file OAuthServer.php.
References OAuthServer\$version, and OAuthRequest\get_parameter().
|
protected |
Definition at line 18 of file OAuthServer.php.
Referenced by OAuthServer\__construct().
|
protected |
Definition at line 16 of file OAuthServer.php.
|
protected |
Definition at line 14 of file OAuthServer.php.
|
protected |
Definition at line 15 of file OAuthServer.php.
Referenced by OAuthServer\verify_request().