+ /**
+ * @ORM\OneToMany(targetEntity="RefreshToken", mappedBy="client", cascade={"remove"})
+ */
+ protected $refreshTokens;
+
+ /**
+ * @ORM\OneToMany(targetEntity="AccessToken", mappedBy="client", cascade={"remove"})
+ */
+ protected $accessTokens;
+
+ /**
+ * @var string
+ *
+ * @SerializedName("client_secret")
+ * @Groups({"user_api_with_client"})
+ */
+ protected $secret;
+
+ /**
+ * @ORM\ManyToOne(targetEntity="Wallabag\UserBundle\Entity\User", inversedBy="clients")
+ */
+ private $user;
+
+ public function __construct(User $user)