ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 () | |
build_signature ($request, $consumer, $token) | |
Public Member Functions inherited from OAuthSignatureMethod | |
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 | |||
) |
Definition at line 146 of file OAuth.php.
References $key, $request, PHPMailer\PHPMailer\$token, and OAuthUtil\urlencode_rfc3986().
OAuthSignatureMethod_HMAC_SHA1::get_name | ( | ) |