You are here

abstract public function OAuthSignatureMethod::build_signature in jQuery social stream 8

Same name and namespace in other branches
  1. 8.2 src/Twitter/OAuthSignatureMethod.php \Drupal\jquery_social_stream\Twitter\OAuthSignatureMethod::build_signature()

Build up the signature NOTE: The output of this function MUST NOT be urlencoded. the encoding is handled in OAuthRequest when the final request is serialized

Parameters

OAuthRequest $request:

OAuthConsumer $consumer:

OAuthToken $token:

Return value

string

1 call to OAuthSignatureMethod::build_signature()
OAuthSignatureMethod::check_signature in src/Twitter/OAuthSignatureMethod.php
Verifies that a given signature is correct
3 methods override OAuthSignatureMethod::build_signature()
OAuthSignatureMethod_HMAC_SHA1::build_signature in src/Twitter/OAuthSignatureMethod_HMAC_SHA1.php
Build up the signature NOTE: The output of this function MUST NOT be urlencoded. the encoding is handled in OAuthRequest when the final request is serialized
OAuthSignatureMethod_PLAINTEXT::build_signature in src/Twitter/OAuthSignatureMethod_PLAINTEXT.php
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.
OAuthSignatureMethod_RSA_SHA1::build_signature in src/Twitter/OAuthSignatureMethod_RSA_SHA1.php
Build up the signature NOTE: The output of this function MUST NOT be urlencoded. the encoding is handled in OAuthRequest when the final request is serialized

File

src/Twitter/OAuthSignatureMethod.php, line 26

Class

OAuthSignatureMethod
A class for implementing a Signature Method See section 9 ("Signing Requests") in the spec

Namespace

Drupal\jquery_social_stream\Twitter

Code

public abstract function build_signature($request, $consumer, $token);