@@ -46,10 +46,10 @@ |
||
| 46 | 46 | return $this->user['class']; |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | - /** |
|
| 50 | - * Helper method to get the token class |
|
| 51 | - * @return string |
|
| 52 | - */ |
|
| 49 | + /** |
|
| 50 | + * Helper method to get the token class |
|
| 51 | + * @return string |
|
| 52 | + */ |
|
| 53 | 53 | public function getTokenClass() |
| 54 | 54 | { |
| 55 | 55 | return $this->token['class']; |
@@ -135,9 +135,9 @@ |
||
| 135 | 135 | |
| 136 | 136 | // Calculate the signature string |
| 137 | 137 | $signatureString = hash('sha256', $body) . "\n" . |
| 138 | - $request->method . "+" . $request->getUrl() . "\n" . |
|
| 139 | - $request->getHeaders()->get(self::DATE_HEADER) . "\n" . |
|
| 140 | - \base64_encode($salt); |
|
| 138 | + $request->method . "+" . $request->getUrl() . "\n" . |
|
| 139 | + $request->getHeaders()->get(self::DATE_HEADER) . "\n" . |
|
| 140 | + \base64_encode($salt); |
|
| 141 | 141 | |
| 142 | 142 | Yii::debug([ |
| 143 | 143 | 'message' => sprintf('Derived Signature String %s', $signatureString), |