public function Idp::setX509Cert in SAML Service Provider 4.x
Same name and namespace in other branches
- 8.3 src/Entity/Idp.php \Drupal\saml_sp\Entity\Idp::setX509Cert()
- 3.x src/Entity/Idp.php \Drupal\saml_sp\Entity\Idp::setX509Cert()
Sets the X.509 certificates for the IdP server.
Parameters
array $x509_certs: The certificates.
Overrides IdpInterface::setX509Cert
File
- src/
Entity/ Idp.php, line 218
Class
- Idp
- Defines the Idp entity.
Namespace
Drupal\saml_sp\EntityCode
public function setX509Cert(array $x509_certs) {
if (isset($x509_certs['actions'])) {
unset($x509_certs['actions']);
}
$this->x509_cert = $x509_certs;
}