ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
The PLAINTEXT method does not provide any security protection and SHOULD only be used over a secure channel such as HTTPS. More...
Public Member Functions | |
get_name () | |
Needs to return the name of the Signature Method (ie HMAC-SHA1) More... | |
build_signature ($request, $consumer, $token) | |
oauth_signature is set to the concatenated encoded values of the Consumer Secret and Token Secret, separated by a '&' character (ASCII code 38), even if either secret is empty. 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 PLAINTEXT method does not provide any security protection and SHOULD only be used over a secure channel such as HTTPS.
It does not use the Signature Base String.
OAuthSignatureMethod_PLAINTEXT::build_signature | ( | $request, | |
$consumer, | |||
$token | |||
) |
oauth_signature is set to the concatenated encoded values of the Consumer Secret and Token Secret, separated by a '&' character (ASCII code 38), even if either secret is empty.
The result MUST be encoded again.
Please note that the second encoding MUST NOT happen in the SignatureMethod, as OAuthRequest handles this!
Reimplemented from OAuthSignatureMethod.
Definition at line 168 of file OAuth.php.
References $consumer, $key, and OAuthUtil\urlencode_rfc3986().
OAuthSignatureMethod_PLAINTEXT::get_name | ( | ) |
Needs to return the name of the Signature Method (ie HMAC-SHA1)
Reimplemented from OAuthSignatureMethod.
Definition at line 155 of file OAuth.php.