Метод |
Описание |
|
check_nonce ( $consumer, $token, $nonce, $timestamp ) |
check that the nonce is not repeated |
|
check_signature ( $request, $consumer, $token ) |
all-in-one function to check the signature on a request
should guess the signature method appropriately |
|
check_timestamp ( $timestamp ) |
check that the timestamp is new enough |
|
get_consumer ( $request ) |
try to find the consumer for the provided request's consumer key |
|
get_signature_method ( $request ) |
figure out the signature with some defaults |
|
get_token ( $request, $consumer, $token_type = "access" ) |
try to find the token for the provided request's token key |
|
get_version ( &$request ) |
version 1 |
|