interface BaseInterface in DRD Agent 4.0.x
Same name in this branch
- 4.0.x src/Crypt/BaseInterface.php \Drupal\drd_agent\Crypt\BaseInterface
- 4.0.x src/Agent/Action/BaseInterface.php \Drupal\drd_agent\Agent\Action\BaseInterface
- 4.0.x src/Agent/Remote/BaseInterface.php \Drupal\drd_agent\Agent\Remote\BaseInterface
- 4.0.x src/Agent/Auth/BaseInterface.php \Drupal\drd_agent\Agent\Auth\BaseInterface
Same name and namespace in other branches
- 8.3 src/Agent/Auth/BaseInterface.php \Drupal\drd_agent\Agent\Auth\BaseInterface
Interface for authentication methods.
Hierarchy
- interface \Drupal\drd_agent\Agent\Auth\BaseInterface
Expanded class hierarchy of BaseInterface
All classes that implement BaseInterface
File
- src/
Agent/ Auth/ BaseInterface.php, line 10
Namespace
Drupal\drd_agent\Agent\AuthView source
interface BaseInterface {
/**
* Get a list of all implemented authentication methods.
*
* @param \Symfony\Component\DependencyInjection\ContainerInterface $container
*
* @return array
* Array of all implemented authentication methods.
*/
public static function getMethods(ContainerInterface $container) : array;
/**
* Verify if the given UUID is authorised to access this site.
*
* @param string $uuid
* UUID of the authentication object that should be validated.
*
* @return bool
* TRUE if authenticated, FALSE otherwise.
*/
public function validateUuid($uuid) : bool;
/**
* Validate authentication of the current request with the given settings.
*
* @param array $settings
* Authentication settings from the request.
*
* @return bool
* TRUE if authenticated, FALSE otherwise.
*/
public function validate(array $settings) : bool;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BaseInterface:: |
public static | function | Get a list of all implemented authentication methods. | |
BaseInterface:: |
public | function | Validate authentication of the current request with the given settings. | 2 |
BaseInterface:: |
public | function | Verify if the given UUID is authorised to access this site. | 1 |