public function OAuthSignatureMethod_HMAC::get_name in OAuth 1.0 6.3
Same name and namespace in other branches
- 7.4 includes/OAuthSignatureMethod_HMAC.inc \OAuthSignatureMethod_HMAC::get_name()
- 7.3 includes/OAuthSignatureMethod_HMAC.inc \OAuthSignatureMethod_HMAC::get_name()
Needs to return the name of the Signature Method (ie HMAC-SHA1)
Return value
string
Overrides OAuthSignatureMethod::get_name
File
- includes/
OAuthSignatureMethod_HMAC.inc, line 47
Class
- OAuthSignatureMethod_HMAC
- A generic signature method implementation that leverages hash_hmac() for increased flexibility.
Code
public function get_name() {
return "HMAC-" . strtoupper($this->algo);
}