SharedSecret.php in DRD Agent 8.3
Same filename and directory in other branches
Namespace
Drupal\drd_agent\Agent\AuthFile
src/Agent/Auth/SharedSecret.phpView source
<?php
namespace Drupal\drd_agent\Agent\Auth;
/**
* Implements the SharedSecret authentication method.
*/
class SharedSecret extends Base {
/**
* {@inheritdoc}
*/
public function validate(array $settings) : bool {
return $settings['secret'] === $this->storedSettings['secret'];
}
}
Classes
Name | Description |
---|---|
SharedSecret | Implements the SharedSecret authentication method. |