function OAuthSignatureMethod_HMAC_SHA1::get_name in OAuth 1.0 7.3
Same name and namespace in other branches
- 6.3 lib/OAuth.php \OAuthSignatureMethod_HMAC_SHA1::get_name()
- 6 OAuth.php \OAuthSignatureMethod_HMAC_SHA1::get_name()
Needs to return the name of the Signature Method (ie HMAC-SHA1)
Return value
string
Overrides OAuthSignatureMethod::get_name
File
- lib/
OAuth.php, line 129 - OAuth 1.0 server and client library.
Class
- OAuthSignatureMethod_HMAC_SHA1
- 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…
Code
function get_name() {
return "HMAC-SHA1";
}