public function getClientDetails($client_id)
	{
		$client = $this->repo->find($client_id);

		if(!$client) {
			return false;
		}

		$clientDetails = array(
			'client_id' => $client->getId(),
			'redirect_uri' => $client->getRedirectUri(),
		);


		if ($client instanceof ScopeInterface) {
			if (is_array($scopes = $client->getScopes())) {
				$clientDetails['scope'] = implode(' ', $scopes);
			}
		}

		return $clientDetails;
	}
public function getClientDetails($client_id)
	{
		$client = $this->repo->find($client_id);

		if(!$client) {
			return false;
		}

		$clientDetails = array(
			'client_id' => $client->getId(),
			'redirect_uri' => $client->getRedirectUri(),
		);


		if ($client instanceof ScopeInterface) {
			if (is_array($scopes = $client->getScopes())) {
				$clientDetails['scope'] = implode(' ', $scopes);
			}
		}

		return $clientDetails;
	}
public function getClientDetails ( $ client_id ) { $ client = $ this -> repo -> find ( $ client_id ) ; if ( ! $ client ) { return false ; } $ clientDetails = array ( 'client_id' => $ client -> getId ( ) , 'redirect_uri' => $ client -> getRedirectUri ( ) , ) ; if ( $ client instanceof ScopeInterface ) { if ( is_array ( $ scopes = $ client -> getScopes ( ) ) ) { $ clientDetails [ 'scope' ] = implode ( ' ' , $ scopes ) ; } } return $ clientDetails ; }
Returns array containing `client_id` and `redirect_uri`. False if missing.

@param $client_id
@return array|bool
Returns array containing client_id and redirect_uri . False if missing .