You are here

function OAuthSignatureMethod_HMAC_SHA1::get_name in jQuery social stream 8.2

Same name and namespace in other branches
  1. 8 src/Twitter/OAuthSignatureMethod_HMAC_SHA1.php \Drupal\jquery_social_stream\Twitter\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

src/Twitter/OAuthSignatureMethod_HMAC_SHA1.php, line 13

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…

Namespace

Drupal\jquery_social_stream\Twitter

Code

function get_name() {
  return "HMAC-SHA1";
}