Class to represent an OAuth HMAC_SHA256 signature method. More...
Public Member Functions | |
get_name () | |
Name of the Signature Method. | |
build_signature ($request, $consumer, $token) | |
Build up the signature. | |
![]() | |
get_name () | |
Needs to return the name of the Signature Method (eg HMAC-SHA1). | |
build_signature ($request, $consumer, $token) | |
Build up the signature. | |
check_signature ($request, $consumer, $token, $signature) | |
Verifies that a given signature is correct. | |
Class to represent an OAuth HMAC_SHA256 signature method.
Definition at line 20 of file OAuthSignatureMethod_HMAC_SHA256.php.
build_signature | ( | $request, | |
$consumer, | |||
$token | |||
) |
Build up the signature.
NOTE: The output of this function MUST NOT be urlencoded. the encoding is handled in OAuthRequest when the final request is serialized
OAuthRequest | $request | Request |
OAuthConsumer | $consumer | Consumer |
OAuthToken | $token | Token |
Reimplemented from OAuthSignatureMethod.
Definition at line 46 of file OAuthSignatureMethod_HMAC_SHA256.php.
References OAuthUtil\urlencode_rfc3986().
get_name | ( | ) |
Name of the Signature Method.
Reimplemented from OAuthSignatureMethod.
Definition at line 28 of file OAuthSignatureMethod_HMAC_SHA256.php.