Merge pull request #8 from jacobkiers/fix-7-abstract-class
Fix interface inheritance for PHP 5.3.0 - 5.3.8
This commit is contained in:
commit
11f934ee88
@ -27,28 +27,6 @@ use \JacobKiers\OAuth\Request\RequestInterface;
|
|||||||
*/
|
*/
|
||||||
abstract class SignatureMethod implements SignatureMethodInterface
|
abstract class SignatureMethod implements SignatureMethodInterface
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* Return the name of the Signature Method (ie HMAC-SHA1).
|
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
abstract public function getName();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 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.
|
|
||||||
*
|
|
||||||
* @param JacobKiers\OAuth\Request\RequestInterface $request
|
|
||||||
* @param JacobKiers\OAuth\Consumer\ConsumerInterface $consumer
|
|
||||||
* @param JacobKiers\OAuth\Token\TokenInterface $token
|
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
abstract public function buildSignature(RequestInterface $request, ConsumerInterface $consumer, TokenInterface $token = null);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the signature key, made up of consumer and optionally token shared secrets.
|
* Get the signature key, made up of consumer and optionally token shared secrets.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user