| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class BearerTokenSignature extends Signature implements SignatureInterface |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @return string |
||
| 15 | */ |
||
| 16 | 12 | public function getMethod() |
|
| 17 | { |
||
| 18 | 12 | return ''; |
|
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return string |
||
| 23 | */ |
||
| 24 | 12 | public function getType() |
|
| 25 | { |
||
| 26 | 12 | return 'BEARERTOKEN'; |
|
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | 12 | public function getVersion() |
|
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param string $string |
||
| 39 | * @param string $accessKeySecret |
||
| 40 | * |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | 12 | public function sign($string, $accessKeySecret) |
|
| 48 |