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

Method hasShareAccess

lib/Controller/PageController.php:245–249  ·  view source on GitHub ↗
(string $token, array $share)

Source from the content-addressed store, hash-verified

243 }
244
245 private function hasShareAccess(string $token, array $share): bool
246 {
247 return $share['password'] === null
248 || $this->DataSession->isShareAuthenticated($token, $share['password']);
249 }
250
251 private function passwordPrompt(string $token, bool $wrongPassword): TemplateResponse
252 {

Callers 2

indexPublicMethod · 0.95
indexPublicMinMethod · 0.95

Calls 1

isShareAuthenticatedMethod · 0.80

Tested by

no test coverage detected