1<?php
2
3namespace OAuth\OAuth1\Signature;
4
5use OAuth\Common\Consumer\CredentialsInterface;
6use OAuth\Common\Http\Uri\UriInterface;
7
8interface SignatureInterface
9{
10    /**
11     * @param string $algorithm
12     */
13    public function setHashingAlgorithm($algorithm);
14
15    /**
16     * @param string $token
17     */
18    public function setTokenSecret($token);
19
20    /**
21     * @param UriInterface $uri
22     * @param array        $params
23     * @param string       $method
24     *
25     * @return string
26     */
27    public function getSignature(UriInterface $uri, array $params, $method = 'POST');
28}
29