public function Storage::isPublicClient in OAuth2 Server 7
File
- lib/
Drupal/ oauth2_server/ Storage.php, line 34
Class
- Storage
- Provides Drupal storage (through the underlying Entity API) for the library.
Namespace
Drupal\oauth2_serverCode
public function isPublicClient($client_key) {
$client = $this
->getClientDetails($client_key);
return $client && empty($client['client_secret']);
}