MCPcopy Create free account
hub / github.com/Rello/analytics / setShareAuthenticated

Method setShareAuthenticated

lib/DataSession.php:54–58  ·  view source on GitHub ↗
(string $token, string $passwordHash)

Source from the content-addressed store, hash-verified

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 {

Callers 1

authenticatePasswordMethod · 0.80

Calls 2

removeLegacyPasswordMethod · 0.95
setValueMethod · 0.95

Tested by

no test coverage detected