* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ declare(strict_types=1); namespace PrestaShopBundle\Security\OAuth2\Entity; use League\OAuth2\Server\Entities\ClientEntityInterface; use League\OAuth2\Server\Entities\Traits\ClientTrait; use League\OAuth2\Server\Entities\Traits\EntityTrait; /** * This class is the Client entity managed by ClientRepository * * @experimental */ class Client implements ClientEntityInterface { use ClientTrait; use EntityTrait; public function __construct() { // Client Credential Grant allow only confidential clients (rfc6749 section 4.4) $this->isConfidential = true; } }