public function BasicAuth::checkIfAvailable in Entity Share 8.3
Returns true if the plugin method is supported.
The method could be in core, or it could require a contrib module.
Return value
bool Is this plugin available?
Overrides ClientAuthorizationInterface::checkIfAvailable
File
- modules/
entity_share_client/ src/ Plugin/ ClientAuthorization/ BasicAuth.php, line 23
Class
- BasicAuth
- Provides Basic Auth based client authorization.
Namespace
Drupal\entity_share_client\Plugin\ClientAuthorizationCode
public function checkIfAvailable() {
// Basic Auth is a core module which any server can enable.
return TRUE;
}