(string $token, string $passwordHash)
| 52 | } |
| 53 | |
| 54 | public function setShareAuthenticated(string $token, string $passwordHash): void |
| 55 | { |
| 56 | $this->removeLegacyPassword($token); |
| 57 | $this->setValue('analytics-share-auth', $token, hash('sha256', $passwordHash)); |
| 58 | } |
| 59 | |
| 60 | protected function setValue(string $key, string $token, string $value): void |
| 61 | { |
no test coverage detected