src/Saml.php
public function validateLogoutResponse(LogoutResponse $response)
    {
        $this->validateIssuer($response);

        if ($this->hasSignature($response)) {
            $this->validateSignature(
                $response,
                KeyHelper::createPublicKey(
                    $this->getMetadata()->getFirstIdpSsoDescriptor()
                        ->getFirstKeyDescriptor(KeyDescriptor::USE_SIGNING)
                        ->getCertificate()
                )
            );
        }
    }
public function validateLogoutResponse(LogoutResponse $response)
    {
        $this->validateIssuer($response);

        if ($this->hasSignature($response)) {
            $this->validateSignature(
                $response,
                KeyHelper::createPublicKey(
                    $this->getMetadata()->getFirstIdpSsoDescriptor()
                        ->getFirstKeyDescriptor(KeyDescriptor::USE_SIGNING)
                        ->getCertificate()
                )
            );
        }
    }
public function validateLogoutResponse ( LogoutResponse $ response ) { $ this -> validateIssuer ( $ response ) ; if ( $ this -> hasSignature ( $ response ) ) { $ this -> validateSignature ( $ response , KeyHelper :: createPublicKey ( $ this -> getMetadata ( ) -> getFirstIdpSsoDescriptor ( ) -> getFirstKeyDescriptor ( KeyDescriptor :: USE_SIGNING ) -> getCertificate ( ) ) ) ; } }
Validate a LogoutResponse

@param LogoutResponse $response
Validate a LogoutResponse