public function SetSignature() { // Set signature from combining username and token $this->signature = \model\AuthService::Hash($this->GetUserName() . $this->GetToken()); }
public function GetHash() { return \model\AuthService::Hash($this->ip . $this->userAgent); }