@@ -137,9 +137,9 @@ |
||
137 | 137 | |
138 | 138 | // Calculate the signature string |
139 | 139 | $signatureString = hash('sha256', $body) . "\n" . |
140 | - $request->method . "+" . $request->getUrl() . "\n" . |
|
141 | - $request->getHeaders()->get(self::DATE_HEADER) . "\n" . |
|
142 | - \base64_encode($salt); |
|
140 | + $request->method . "+" . $request->getUrl() . "\n" . |
|
141 | + $request->getHeaders()->get(self::DATE_HEADER) . "\n" . |
|
142 | + \base64_encode($salt); |
|
143 | 143 | |
144 | 144 | Yii::trace([ |
145 | 145 | 'message' => sprintf('Derived Signature String %s', $signatureString), |
@@ -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']; |