class CasPreValidateServerConfigEvent in CAS 8
Same name and namespace in other branches
- 2.x src/Event/CasPreValidateServerConfigEvent.php \Drupal\cas\Event\CasPreValidateServerConfigEvent
Class CasPreValidateServerConfigEvent.
Subscribers of this event can modify the configuration of the CAS server before it's used to make the validation request. A module could do this to validate the ticket on some other server rather than the one defined in the default configuration.
Hierarchy
- class \Drupal\cas\Event\CasPreValidateServerConfigEvent extends \Symfony\Component\EventDispatcher\Event
Expanded class hierarchy of CasPreValidateServerConfigEvent
1 file declares its use of CasPreValidateServerConfigEvent
- CasValidator.php in src/
Service/ CasValidator.php
File
- src/
Event/ CasPreValidateServerConfigEvent.php, line 17
Namespace
Drupal\cas\EventView source
class CasPreValidateServerConfigEvent extends Event {
/**
* The CAS server config value object.
*
* @var \Drupal\cas\CasServerConfig
*/
protected $casServerConfig;
/**
* CasPreValidateServerConfigEvent constructor.
*
* @param \Drupal\cas\CasServerConfig $casServerConfig
* The CAS server config value object.
*/
public function __construct(CasServerConfig $casServerConfig) {
$this->casServerConfig = $casServerConfig;
}
public function getCasServerConfig() {
return $this->casServerConfig;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CasPreValidateServerConfigEvent:: |
protected | property | The CAS server config value object. | |
CasPreValidateServerConfigEvent:: |
public | function | ||
CasPreValidateServerConfigEvent:: |
public | function | CasPreValidateServerConfigEvent constructor. |