for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* SocialConnect project
* @author: Patsura Dmitry https://github.com/ovr <[email protected]>
*/
declare(strict_types=1);
namespace SocialConnect\OAuth1\Signature;
use SocialConnect\Provider\Consumer;
use SocialConnect\OAuth1\Token;
abstract class AbstractSignatureMethod
{
* Needs to 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 string $signatureBase
* @param Consumer $consumer
* @param Token $token
abstract public function buildSignature(string $signatureBase, Consumer $consumer, Token $token);
}