public function BaseInterface::validate in DRD Agent 4.0.x
Same name and namespace in other branches
- 8.3 src/Agent/Auth/BaseInterface.php \Drupal\drd_agent\Agent\Auth\BaseInterface::validate()
Validate authentication of the current request with the given settings.
Parameters
array $settings: Authentication settings from the request.
Return value
bool TRUE if authenticated, FALSE otherwise.
2 methods override BaseInterface::validate()
- SharedSecret::validate in src/
Agent/ Auth/ SharedSecret.php - Validate authentication of the current request with the given settings.
- UsernamePassword::validate in src/
Agent/ Auth/ UsernamePassword.php - Validate authentication of the current request with the given settings.
File
- src/
Agent/ Auth/ BaseInterface.php, line 42
Class
- BaseInterface
- Interface for authentication methods.
Namespace
Drupal\drd_agent\Agent\AuthCode
public function validate(array $settings) : bool;