| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 45 | public function signRequest(AbstractSignatureMethod $signatureMethod, Consumer $consumer, Token $token) |
||
| 46 | { |
||
| 47 | $this->parameters['oauth_signature_method'] = $signatureMethod->getName(); |
||
| 48 | $this->parameters['oauth_signature'] = $signatureMethod->buildSignature( |
||
| 49 | $this, |
||
| 50 | $consumer, |
||
| 51 | $token |
||
| 52 | ); |
||
| 53 | |||
| 54 | $this->headers['Authorization'] = $this->authorizationHeader(); |
||
| 55 | } |
||
| 69 |