SAML2\Configuration\ServiceProvider::isAssertionEncryptionRequired PHP Method

isAssertionEncryptionRequired() public method

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

Usage Example

コード例 #1
0
ファイル: Decrypter.php プロジェクト: SysBind/saml2
 /**
  * Allows for checking whether either the SP or the IdP requires assertion encryption
  */
 public function isEncryptionRequired()
 {
     return $this->identityProvider->isAssertionEncryptionRequired() || $this->serviceProvider->isAssertionEncryptionRequired();
 }