Source of file ClientEntity.php
Size: 0,774 Bytes - Last Modified: 2022-02-21T10:00:46+00:00
/var/www/docs.ssmods.com/process/src/src/Entities/ClientEntity.php
123456789101112131415161718192021222324252627 | <?php namespace AdvancedLearning\Oauth2Server\Entities; use League\OAuth2\Server\Entities\ClientEntityInterface; use League\OAuth2\Server\Entities\Traits\ClientTrait; use League\OAuth2\Server\Entities\Traits\EntityTrait; class ClientEntity implements ClientEntityInterface { use ClientTrait, EntityTrait; /** * Create a new client instance. * * @param string $identifier The identifier for the client. * @param string $name The name of the client. * @param string $redirectUri Redirect Uri. */ public function __construct(string $identifier, string $name, string $redirectUri) { $this->setIdentifier($identifier); $this->name = $name; $this->redirectUri = explode(',', $redirectUri); } } |