If the response is an error response, we will throw a sspmod_saml_Error
exception with the error.
public static processResponse ( SimpleSAML_Configuration $spMetadata, SimpleSAML_Configuration $idpMetadata, SAML2\Response $response ) : array | ||
$spMetadata | SimpleSAML_Configuration | The metadata of the service provider. |
$idpMetadata | SimpleSAML_Configuration | The metadata of the identity provider. |
$response | SAML2\Response | The response. |
return | array | Array with \SAML2\Assertion objects, containing valid assertions from the response. |