public function encode()
    {
        $json = json_encode([
            'user_email' => $this->email,
            'agent' => $this->userAgent,
            'series' => $this->series,
            'token' => $this->token,
        ]);

        return base64_encode($json);
    }