This function performs some sanity checks on XML documents, and optionally validates them against their schema
if the 'validatexml' debugging option is enabled. A warning will be printed to the log if validation fails.
public static checkSAMLMessage ( string $message, string $type ) | ||
$message | string | The SAML document we want to check. |
$type | string | The type of document. Can be one of: - 'saml20' - 'saml11' - 'saml-meta' |