See Release Notes
Long Term Support Release
Differences Between: [Versions 401 and 402] [Versions 401 and 403]
(no description)
File Size: | 233 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
OAuthServer:: (12 methods):
__construct()
add_signature_method()
fetch_request_token()
fetch_access_token()
verify_request()
get_version()
get_signature_method()
get_consumer()
get_token()
check_signature()
check_timestamp()
check_nonce()
Class: OAuthServer - X-Ref
Class to represent an %OAuth Server__construct($data_store) X-Ref |
No description |
add_signature_method($signature_method) X-Ref |
No description |
fetch_request_token(&$request) X-Ref |
process a request_token request returns the request token on success |
fetch_access_token(&$request) X-Ref |
process an access_token request returns the access token on success |
verify_request(&$request) X-Ref |
verify an api call, checks all the parameters |
get_version(&$request) X-Ref |
version 1 |
get_signature_method($request) X-Ref |
figure out the signature with some defaults |
get_consumer($request) X-Ref |
try to find the consumer for the provided request's consumer key |
get_token($request, $consumer, $token_type="access") X-Ref |
try to find the token for the provided request's token key |
check_signature($request, $consumer, $token) X-Ref |
all-in-one function to check the signature on a request should guess the signature method appropriately |
check_timestamp($timestamp) X-Ref |
check that the timestamp is new enough |
check_nonce($consumer, $token, $nonce, $timestamp) X-Ref |
check that the nonce is not repeated |