src/Saml.php
public function validateIssuer(SamlMessage $message)
    {
        if ($this->getMetadata()->getIdentityProvider()->getEntityID() != $message->getIssuer()->getValue()) {
            throw new SamlException('urn:oasis:names:tc:SAML:2.0:status:RequestDenied');
        }
    }
public function validateIssuer(SamlMessage $message)
    {
        if ($this->getMetadata()->getIdentityProvider()->getEntityID() != $message->getIssuer()->getValue()) {
            throw new SamlException('urn:oasis:names:tc:SAML:2.0:status:RequestDenied');
        }
    }
public function validateIssuer ( SamlMessage $ message ) { if ( $ this -> getMetadata ( ) -> getIdentityProvider ( ) -> getEntityID ( ) != $ message -> getIssuer ( ) -> getValue ( ) ) { throw new SamlException ( 'urn:oasis:names:tc:SAML:2.0:status:RequestDenied' ) ; } }
Validate IdP Response issuer

@param SamlMessage $message

@throws SamlException
Validate IdP Response issuer