ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
The HMAC-SHA1 signature method uses the HMAC-SHA1 signature algorithm as defined in [RFC2104] where the Signature Base String is the text and the key is the concatenated values (each first encoded per Parameter Encoding) of the Consumer Secret and Token Secret, separated by an '&' character (ASCII code 38) even if empty. More...
Public Member Functions | |
get_name () | |
Needs to return the name of the Signature Method (ie HMAC-SHA1) More... | |
build_signature ($request, $consumer, $token) | |
Build up the signature NOTE: The output of this function MUST NOT be urlencoded. More... | |
![]() | |
get_name () | |
Needs to return the name of the Signature Method (ie HMAC-SHA1) More... | |
build_signature ($request, $consumer, $token) | |
Build up the signature NOTE: The output of this function MUST NOT be urlencoded. More... | |
check_signature ($request, $consumer, $token, $signature) | |
Verifies that a given signature is correct. More... | |
The HMAC-SHA1 signature method uses the HMAC-SHA1 signature algorithm as defined in [RFC2104] where the Signature Base String is the text and the key is the concatenated values (each first encoded per Parameter Encoding) of the Consumer Secret and Token Secret, separated by an '&' character (ASCII code 38) even if empty.
OAuthSignatureMethod_HMAC_SHA1::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 | |
OAuthConsumer | $consumer | |
OAuthToken | $token |
Reimplemented from OAuthSignatureMethod.
Definition at line 133 of file OAuth.php.
References $consumer, $key, and OAuthUtil\urlencode_rfc3986().
OAuthSignatureMethod_HMAC_SHA1::get_name | ( | ) |
Needs to return the name of the Signature Method (ie HMAC-SHA1)
Reimplemented from OAuthSignatureMethod.
Definition at line 129 of file OAuth.php.