Nextcloud-App/lib/Db/MatrixUser.php
Ben 940c7bed6e
Start implementing matrix chat integration
Implement auto-login for element-web
2022-04-30 14:52:25 +02:00

23 lines
419 B
PHP

<?php
namespace OCA\UPschooling\Db;
use JsonSerializable;
use OCP\AppFramework\Db\Entity;
class MatrixUser extends Entity implements JsonSerializable {
protected $userId;
protected $matrixUser;
protected $matrixToken;
public function jsonSerialize(): array
{
return [
'id' => $this->id,
'userId' => $this->userId,
'matrixUser' => $this->matrixUser,
'matrixToken' => $this->matrixToken,
];
}
}