SAML2\Configuration\ServiceProvider::isAssertionEncryptionRequired PHP Méthode

isAssertionEncryptionRequired() public méthode

    public function isAssertionEncryptionRequired()
    {
        return $this->get('assertionEncryptionEnabled');
    }

Usage Example

Exemple #1
0
 /**
  * Allows for checking whether either the SP or the IdP requires assertion encryption
  */
 public function isEncryptionRequired()
 {
     return $this->identityProvider->isAssertionEncryptionRequired() || $this->serviceProvider->isAssertionEncryptionRequired();
 }