| 1 | <?php |
||
| 12 | class RequestSigner implements LoggerAwareInterface |
||
| 13 | { |
||
| 14 | use LoggerAwareTrait; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var TokenPool |
||
| 18 | */ |
||
| 19 | protected $pool; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param TokenPool $pool |
||
| 23 | */ |
||
| 24 | 11 | public function __construct(TokenPool $pool) |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @param RequestInterface $request |
||
| 31 | * @param bool $forceNew |
||
| 32 | * |
||
| 33 | * @return RequestInterface |
||
| 34 | */ |
||
| 35 | 7 | public function signRequest(RequestInterface $request, $forceNew = false) |
|
| 58 | } |
||
| 59 |