/** * @JMS\Groups({"client_metadata"}) * @JMS\VirtualProperty * @JMS\SerializedName("client_secret") */ public function getClientSecret() { if ($this->client_id === null && $this->client) { return $this->client->getClientSecret(); } return $this->client_secret; }