You are here

abstract public function OAuthSignatureMethod::build_signature in OAuth 1.0 7.3

Same name and namespace in other branches
  1. 6.3 lib/OAuth.php \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 lib/OAuth.php
Verifies that a given signature is correct
4 methods override OAuthSignatureMethod::build_signature()
OAuthSignatureMethod_HMAC::build_signature in includes/OAuthSignatureMethod_HMAC.inc
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_HMAC_SHA1::build_signature in lib/OAuth.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 lib/OAuth.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 lib/OAuth.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

lib/OAuth.php, line 89
OAuth 1.0 server and client library.

Class

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

Code

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